@tempots/dom

ReducerEffect type

Represents a function that defines a reducer effect. A reducer effect is a function that takes in the previous state, current state, action, and a dispatch function, and performs some side effects based on the state and action.

Signature:

export type ReducerEffect = (data: ReducerEffectData) => void;

References: ReducerEffectData