DEV Community

Discussion on: The state of the state: React state management in 2018

avkonst profile image

useState can be adapted to manage the global state too, even when the global state can be changed by external events, even when components are not mounted. I have replaced Redux and Mobx in all my project by this tiny library It made source code a lot simpler and cleaner. The library uses only hooks for global state management and I maintain it.