CombineReducersFunction Type

Deprecated  in 4.15.0. Use your state management types instead.

CombineReducersFunction = (reducers: A) => (state: CombinedReducerState<A>, action: ReducerMapActions<A>) => CombinedReducerState<A>

So we don't actually need to implement our own version of combineReducers, but we are going to cast it to this type, which will do a better job of preserving/deducing the Action and State types.

Defined in

Last Updated: 17 December, 2024