1

I have 1 problem, normally it works fine, but today when I build, this error appears Module '"@hookstate/core"' has no exported member 'useState'. I use NextJS enter image description here

I hope to get help. Thank you

1 Answers1

0

You probably upgraded it to version 4. Version 4.0.0 has useHookstate instead, because useState collided with name in React and did not work in devtools.

Andrew
  • 2,055
  • 2
  • 20
  • 27