Initialize RootReducer class with given initState
, its special reducer for passing to createStore
The initial state. You may optionally specify it to hydrate the state from the server in universal apps, or to restore a previously serialized user session. If you join another reducer, this must be a plain object with the same shape as the keys passed to it. Otherwise, you are free to pass anything that your reducer can understand.
Initialize SubReducer class with given name
(key) and [initState]
That argument is key in state object.
The initial state. You may optionally specify it to hydrate the state from the server in universal apps, or to restore a previously serialized user session. If you join another reducer, this must be a plain object with the same shape as the keys passed to it. Otherwise, you are free to pass anything that your reducer can understand.
Generated using TypeDoc
Name for RootReducer