chainReducers
creates a reducer which forwards incoming actions to each of these "child" reducers. More specifically, the reducer:chainReducers
reducer.undefined
state by returning the initial state; all others can be sub-reducers - such as the ones returned by onAction
- which assume that they are only ever called with a defined, already-initialized state.withInitialState
and onAction
reducers: