3 ms·
Why do you need to "ditch redux"? Redux is excellent. People aren't "overusing" it as we did previously, but it is still a very good way to manage data and stat
by antihero 7y ago
Why do you need to "ditch redux"? Redux is excellent. People aren't "overusing" it as we did previously, but it is still a very good way to manage data and state, and sagas etc are a great way to approach building clients for traditional APIs.
There isn't really anything in pure hooks that can really replace it, performance wise.
If you for some reason really dislike it, mobx-state-tree is probably the best contender to replace it.
- poeti8 7y agoIt really depends on the use case. For mine, too much time spending on writing boilerplate specially when used with TypeScript. Even mobx-state-tree seems too much for me. I went with something way simpler called "easy-peasy" alongside React Context and I'm very happy with them so far.