reduce-reducers
Reduce multiple reducers into a single reducer from left to right
Install
Usage
FAQ
Why?
Originally created to combine multiple Redux reducers that correspond to different actions (e.g. like this). Technically works with any reducer, not just with Redux, though I don't know of any other use cases.
What is the difference between reduceReducers
and combineReducers
?
reduceReducers
and combineReducers
?This StackOverflow post explains it very well: https://stackoverflow.com/a/44371190/5741172
Last updated