Skip to content

@epikodelabs/actionstack


@epikodelabs/actionstack / combineReducers

Function: combineReducers()

combineReducers(reducers): AsyncReducer

Defined in: utils.ts:239

Combines reducers into a single reducer function. Initializes the default state by invoking each reducer with undefined and a special @@INIT action.

Parameters

reducers

Tree<Reducer | AsyncReducer>

Returns

AsyncReducer

Released under the MIT License.