useReducer

external fun <S, A, I> useReducer(reducer: Reducer<S, A>, initializerArg: I, initializer: (I) -> S): ReducerInstance<S, A>(source)
external fun <S, A> useReducer(reducer: Reducer<S, A>, initialState: S): ReducerInstance<S, A>(source)
external fun <S : Any, A> useReducer(reducer: Reducer<S?, A>): ReducerInstance<S?, A>(source)

Only works inside fc

See also