@epikodelabs/actionstack / Reducer
Type Alias: Reducer()<T>
Reducer<
T> = (state,action) =>T
Defined in: types.ts:164
A function that takes the current state and an action, and returns the updated state (excluding promises).
Type Parameters
T
T = any
Parameters
state
T
action
Returns
T