SessionStateReducer Function
Deprecated in 4.15.0. Use your preferred state management library instead.
Handles actions to update SessionState.
SessionStateReducer(state: SessionStateinitialSessionState, action: SessionStateActionsUnion): DeepReadonly<SessionState>
Parameter | Type | Description |
---|---|---|
state | SessionState | |
action | SessionStateActionsUnion |
Returns - DeepReadonly<SessionState>
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.