xenial-black
xenial-black2y ago

I am able to do this with **useEffect**, but every hot reload breaks the state. Not sure why. A solu

I am able to do this with useEffect, but every hot reload breaks the state. Not sure why. A solution is to abuse the successNotification callback and call setData there. Am I overlooking a simpler and better way to do this?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?