Options
All
  • Public
  • Public/Protected
  • All
Menu

A base class for Redux Saga stores.

Type parameters

  • T

    Store type.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new BaseStore(effects: ForkEffect<never>[], reducersObject: ReducersMapObject<T>): BaseStore
  • Construct a BaseStore.

    Parameters

    • effects: ForkEffect<never>[]

      An array of sagas.

    • reducersObject: ReducersMapObject<T>

      and object to combine into the store state.

    Returns BaseStore

Properties

sagaMiddleware

sagaMiddleware: SagaMiddleware<Record<string, unknown>>

The saga middleware running the sagas.

store

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

The redux store.