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