Home
>
Hooks
> usePluginReducer(name)
usePluginReducer(name)
Combines
usePlugin()
and
usePluginState()
.
const
[
state
,
actions
]
=
usePluginReducer
(
'
myplugin
'
);