Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StoreCreator

Hierarchy

  • StoreCreator

Callable

  • A store creator is a function that creates a Redux store. Like with dispatching function, we must distinguish the base store creator, createStore(reducer, preloadedState) exported from the Redux package, from store creators that are returned from the store enhancers.

    Type Parameters

    • S

      The type of state to be held by the store.

    • A extends Action<any, A>

      The type of actions which may be dispatched.

    • Ext

      Store extension that is mixed in to the Store type.

    • StateExt

      State extension that is mixed into the state type.

    Parameters

    Returns Store<S & StateExt, A> & Ext

  • A store creator is a function that creates a Redux store. Like with dispatching function, we must distinguish the base store creator, createStore(reducer, preloadedState) exported from the Redux package, from store creators that are returned from the store enhancers.

    Type Parameters

    • S

      The type of state to be held by the store.

    • A extends Action<any, A>

      The type of actions which may be dispatched.

    • Ext

      Store extension that is mixed in to the Store type.

    • StateExt

      State extension that is mixed into the state type.

    Parameters

    Returns Store<S & StateExt, A> & Ext

Generated using TypeDoc