xenial-black•2y 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