Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRestash<S, U, D>

The combined Restash store state passed to middleware.

Type parameters

Hierarchy

  • IRestash

Index

Properties

dispatch: D

The dispatch type/interface being used.

key: string

When useStore is init as const [stateAt, dispatchAt] = useStore('some_key') the key supplied will be exposed to middleware here.

mounted: boolean

Indicates if Restash has mounted.

state: S

The current state of the Restash store.

status: U | "init" | "mounted"

The current Restash store status.

Generated using TypeDoc