5 ms·
Redux is a game changer here https://easy-peasy.vercel.app/docs/api/create-store.html https://easy-peasy.vercel.app/docs/api/create-store.html
by ngoel36 5y ago
Redux is a game changer here
https://easy-peasy.vercel.app/docs/api/create-store.html https://easy-peasy.vercel.app/docs/api/create-store.html
- acemarke 5y agoI'm biased, but I would strongly recommend using our official Redux Toolkit package rather than Easy-Peasy: https://redux-toolkit.js.org https://redux-toolkit.js.org
- ngoel36 5y agoCurious, why? (I admittedly know very little here)
- acemarke 5y agoBelated 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.