Hacker News new | ask | show | jobs
by ngoel36 1643 days ago
Redux is a game changer here

https://easy-peasy.vercel.app/docs/api/create-store.html

1 comments

I'm biased, but I would strongly recommend using our official Redux Toolkit package rather than Easy-Peasy:

https://redux-toolkit.js.org

Curious, why? (I admittedly know very little here)
Belated answer, but several reasons:

- I created Redux Toolkit :)

- It's also "official", ie, from the actual Redux team (myself, Lenz Weber, Tim Dorr)

- RTK simplifies common Redux patterns, but tries to stay "typically Redux". It doesn't hide the fact that you're using Redux. Libraries like Easy-Peasy and Rematch add additional levels of abstraction, to the point that it doesn't even look like Redux any more. I can understand why that might be appealing to some folks, but I think it's too much abstraction.