Delegate StoreEnhancerStoreCreator<TState>
A function that creates a new store. This is a parameter to the store enhancer.
Namespace: Unity.AppUI.Redux
Assembly: Unity.AppUI.Redux.dll
Syntax
public delegate IStore<TState> StoreEnhancerStoreCreator<TState>(Reducer<TState> rootReducer, TState initialState)
Parameters
Type | Name | Description |
---|---|---|
Reducer<TState> | rootReducer | The root reducer of the store. |
TState | initialState | The initial state of the store. |
Returns
Type | Description |
---|---|
IStore<TState> | The new store. |
Type Parameters
Name | Description |
---|---|
TState | The type of the store state. |
See Also
StoreEnhancer<TState>