Skip to content

Function: bindActionCreator()

bindActionCreator(actionCreator, dispatch): Function

Defined in: actions.ts:144

Binds a single action creator to the dispatch function.

Parameters

actionCreator

Function

The action creator function.

dispatch

Function

The dispatch function.

Returns

Function

A function that dispatches the action created by the action creator.

Released under the MIT License.