Skip to content

Function: bindActionCreators()

bindActionCreators(actionCreators, dispatch): any

Defined in: actions.ts:157

Binds multiple action creators to the dispatch function.

Parameters

actionCreators

An object of action creators or a single action creator function.

Function | Record<string, Function>

dispatch

Function

The dispatch function.

Returns

any

An object of bound action creators or a single bound action creator function.

Released under the MIT License.