Why importing useState at top of the component fails my test case but using it as React.useState doesn't?

后端 未结 0 1445
情话喂你
情话喂你 2021-01-05 07:49

I am facing this issue with the useState hook test when I try to import it as import {useState} from \'react\' my test case fails but when I am using it

相关标签:
回答
  • 消灭零回复
提交回复
热议问题