reduce-merge-reducers
Reduce multiple reducers into a single reducer from left to right and merge their initial states.
⚠️ in order to avoid unexpected results one should use plain objects as initial states
npm install --save reduce-merge-reducers
Example
const reducer = ; todeep;
Why?
This package is a variant of reduce-reducers supporting initial state. The implementation is based on naorye suggestion regarding the following issue https://github.com/acdlite/reduce-reducers/issues/9