Package-level declarations
Types
A transformed Reducer for combineReducers that returns the next child state, given the parent state and an action to handle.
A middleware that can wrap the Store.dispatch method.
A scope for a Middleware.
Functions
Transforms the Reducer to a ChildReducer for combineReducers. The mapToChildState transforms the ParentState to the ChildState.
Transforms the Reducer to a ChildReducer for combineReducers. The mapToChildAction transforms the ParentAction to the ChildAction, and the mapToChildState transforms the ParentState to the ChildState. If the mapToChildAction returns null
, the reducer will not be called.
Turns multiple Reducers into a single Reducer function. The resulting Reducer calls every child Reducer, and gathers their results into a single state object with the transform.
Turns two Reducers into a single Reducer function. The resulting Reducer calls every child Reducer, and gathers their results into a single state object with the transform.
Turns three Reducers into a single Reducer function. The resulting Reducer calls every child Reducer, and gathers their results into a single state object with the transform.
Turns four Reducers into a single Reducer function. The resulting Reducer calls every child Reducer, and gathers their results into a single state object with the transform.