withHydration
functionsignature
withHydration<R>(reducers, hydration): RReplaces each reducer's initial state with what was restored for it.
Type parameters
| Name | Type | Description |
|---|---|---|
R | extends Record<string, HasState> |
Parameters
| Name | Type | Description |
|---|---|---|
reducers | R |
| Name | Type | Description |
|---|---|---|
hydration | Hydration |
Returns
R