@laserware/sword
    Preparing search index...

      @laserware/sword

      Type Aliases

      ProviderComponent

      This is a type alias for the <Provider> component. Do not use this export, rather use <Provider>. The only purpose of this export is to ensure it is included in the documentation.

      Functions

      provide

      Adds the specified Redux store to the specified Svelte context.

      useDispatch

      Gets the dispatch function from the Redux store in context.

      useSelector

      Creates an object with a value property which contains the current value of the specified selector.

      useState

      Returns a function to get the current state from the Redux store in context.

      useStore

      Gets the Redux store from the Svelte context. Note that you should normally not need to use this unless you need to call replaceReducer or perform some other operation that requires access to the entire store.