DEV Community

Discussion on: Why I Stopped Using Redux

Collapse
 
latobibor profile image
András Tóth • Edited

I recommend using overmind.js - that's my go to redux alternative. It was very easy to setup, written in TypeScript handles it really well too and I could cut many lines of boilerplate with it.

By the way, I would like to hug all of you guys, I felt so alone in my criticism on redux :D . I have encountered apps where I could not tell where the hell it was fetching data, because it was FP-style redux, so everything was wrapped in another function and got a function parameter as a callback and lost of layers of indirection to make sure no-one accidentally mutates the immutable state (like how often that happens if you do code-reviews? BTW, there are libraries that guarantee the state to be immutable - I could follow all the redux best practices and yet still called a .sort() on an array without any warning). And then it was just a lame option selector that loaded one endpoint if you chose A) and another if you chose B).