Represents a reducer function type used typically in state management. Takes the current state S and an action A, and returns the new state S.
S
A
The state type.
The action type.
Represents a reducer function type used typically in state management. Takes the current state
Sand an actionA, and returns the new stateS.