DEV Community

Discussion on: Accessing React State right after setting it

 
dance2die profile image
Sung M. Kim

That sounds like a spot-on idea.

I recently created a small web page and used MirrorJS (uses Redux underneath) to keep all states in one place.

setState wasn't needed in most of places and all the states were managed in one place.