Structs§
- Store
Ref - Reference to a store’s state and dispatch.
Functions§
- use_
dispatch - This hook allows getting a
Dispatchto the store. - use_
store - This hook allows accessing the state of a store. When the store is modified, a re-render is automatically triggered.
This hook also accepts a callback that is triggered for state output. To only receive state, use [
use_store_state] instead.