@tempots/dom

ReducerEffectData type

Represents the data passed to a reducer effect.

Signature:

export type ReducerEffectData = {
    previousState: S;
    state: S;
    action: A;
    dispatch: (action: A) => void;
};