I am able to do this with **useEffect
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?
Am I overlooking a simpler and better way to do this?
