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 github.com/avkonst/react-use-state-x. It made source code a lot simpler and cleaner. The library uses only hooks for global state management and I maintain it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 github.com/avkonst/react-use-state-x. It made source code a lot simpler and cleaner. The library uses only hooks for global state management and I maintain it.