You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i want to try hooks api with this boilerplate but something went wrong:
i have updated react@next & react-dom@next, and i can read state from useState
however when i called setState, nothing happended, the state didn't change.
Doubting its a HMR problem, but i tried changing export hot(module)(App) to export App, didn't help
may have a look if you have time. same code runs fine on cra
thanks
The text was updated successfully, but these errors were encountered:
i want to try
hooks api
with this boilerplate but something went wrong:i have updated
react@next
&react-dom@next
, and i can read state fromuseState
however when i called
setState
, nothing happended, the state didn't change.Doubting its a HMR problem, but i tried changing
export hot(module)(App)
toexport App
, didn't helpmay have a look if you have time. same code runs fine on cra
thanks
The text was updated successfully, but these errors were encountered: