Options
All
  • Public
  • Public/Protected
  • All
Menu

Module storeReact

Index

Start here Functions

Start here Functions

createStoreHooks

  • Create React Context & Hooks for interacting with the Store Capturing the type parameters so they need not be respecified.

    example
    //myProj/src/Store.ts
    export const {useX, useY, useZ} = createReactBindings<MyState, MyAction>();
    

    Type parameters

    Returns StoreReact<S, A>

Generated using TypeDoc