4 ms·
Good: It is stable and relatively well understood by most react developers. Redux toolkit eliminate most of the boilerplate and tooling and ecosystem is great.
by Chyzwar 5y ago
Good:
It is stable and relatively well understood by most react developers. Redux toolkit eliminate most of the boilerplate and tooling and ecosystem is great. Make a lot of things super easy to implement.
Bad:
Make unit testing harder. It is harder to share connected components. Performance can suffer if you are not careful enough. It is unclear how Redux will work with new APIs like suspense.
After many years using redux, my general advice is to create many small reducers with flat structure. Favor thunks over middlewares. Do not access state directly, use reselect selectors by default. Use hooks over hoc from react-redux.