A base class for Redux Saga stores.

Type Parameters

  • T

    Store type.

Hierarchy

Constructors

Properties

Constructors

  • Construct a BaseStore.

    Type Parameters

    • T

    Parameters

    • effects: ForkEffect<never>[]

      An array of sagas.

    • reducersObject: ReducersMapObject<T, Action<any>>

      and object to combine into the store state.

    Returns BaseStore<T>

Properties

sagaMiddleware: SagaMiddleware<Record<string, unknown>>

The saga middleware running the sagas.

store: Store<CombinedState<T>, AnyAction> & {
    dispatch: unknown;
}

The redux store.