FrameworkReducer Function
Deprecated in 4.15.0. Use your preferred state management library instead.
Framework reducer that combines the ConfigurableUiReducer and SessionStateReducer.
FrameworkReducer(state: { configurableUiState: ConfigurableUiState, sessionState: DeepReadonlyObject<SessionState> } | Partial<{ configurableUiState: never, sessionState: never }>, action: SessionStateActionsUnion | ConfigurableUiActionsUnion): { configurableUiState: ConfigurableUiState, sessionState: DeepReadonlyObject<SessionState> }
Parameter | Type | Description |
---|---|---|
state | { configurableUiState: ConfigurableUiState, sessionState: DeepReadonlyObject<SessionState> } | Partial<{ configurableUiState: never, sessionState: never }> | |
action | SessionStateActionsUnion | ConfigurableUiActionsUnion |
Returns - { configurableUiState: ConfigurableUiState, sessionState: DeepReadonlyObject<SessionState> }
Defined in
Last Updated: 17 January, 2025
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.