Reducer

constructor()(source)

Parameters

State

the type of the state managed by the reducer.

Event

the type of the event that triggers a state transition.

Effect

the type of the effect emitted by the reducer.