Preparing search index...
The search index is not available
react-context-orm - v1.0.0
react-context-orm
useDispatch
Function useDispatch
Hook to use the dispatch function.
use
Dispatch
(
)
:
(
(
type
:
string
,
payload
?:
any
)
=>
Promise
<
any
>
)
Returns
(
(
type
:
string
,
payload
?:
any
)
=>
Promise
<
any
>
)
The dispatch function.
(
type
,
payload
?
)
:
Promise
<
any
>
Parameters
type
:
string
Optional
payload
:
any
Returns
Promise
<
any
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
react-context-orm - v1.0.0
Loading...
Hook to use the dispatch function.