toggle menu
hooks2
common
switch theme
search in API
hooks2
/
xyz.junerver.compose.hooks
/
useReducer
use
Reducer
@
Composable
fun
<
S
,
A
>
useReducer
(
reducer
:
Reducer
<
S
,
A
>
,
initialState
:
S
,
middlewares
:
Array
<
Middleware
<
S
,
A
>
>
=
emptyArray()
)
:
Triple
<
S
,
Dispatch
<
A
>
,
DispatchAsync
<
A
>
>