-
Honestly, before Redux Toolkit and Redux RTK Query, there were a lot of pain points with Redux.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
For storage layer issues specifically, I'll direct you to redux-persist. It's been a perfect solution for almost all of my persisting needs over the years.
-
As for undoing, my personal opinion is that it is never required. After all, undoing an action is really just dispatching a new action with the information to repopulate which you can compute on the fly. An added benefit of this method is your action history is always moving forward, never backwards. That being said, this redux-undo library might help. Note, I have never used it, but it does come back to my point that middleware are usually the solution.
-
FWIW, there are some various other third-party replacements for combineReducers that might be useful (see https://github.com/markerikson/redux-ecosystem-links/blob/master/reducers.md ), but you'd have to specifically choose to use them yourself, and on top of that createSlice wouldn't be expecting a third arg or pass it through to its case reducers.
-
We've completely revamped the Reselect types in the last few weeks and added new cache size options to its API - see https://github.com/reduxjs/reselect/releases
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Related posts
-
How To Use Redux In React JS
-
Guide to Redux: A Robust State Management Library for JavaScript Applications
-
Easy Shared Reactive State in React without External Libraries
-
React useReducer
-
I am making a pizza app and I want that whenever I click on add my cart gets updated which is at the bottom of the page. Can anyone please help