Interface ReduxStore<T>

A redux store for mobx-keystone.

interface ReduxStore<T> {
    dispatch(action: ReduxAction): ReduxAction;
    getState(): SnapshotOutOf<T>;
    subscribe(listener: OnSnapshotListener<T>): OnSnapshotDisposer;
}

Type Parameters

  • T

Methods