reduceActions
calls reducer
with each of the passed actions
- as if these had been dispatched in the specified order - and returns the resulting state. For the first reducer call, the reducer's initial state (as determined by getInitialState
) is used; each following call receives the state returned by the previous one.reduceActions
simply returns the reducer's initial state - that is, reduceActions(reducer)
is equivalent to getInitialState(reducer)
.