Skip to content

Utility for binding action creators to action dispatchers #33

@tlaundal

Description

@tlaundal

For some actions, we know they are not intended to be used in namespaced contexts. In those cases, adding dispatchAction around each call of the action creator is just added cruft and noise.

We should consider creating a utility bindAction(actionCreator, action$), that can do this binding when the action is created (or in each file it's used?), by returning a wrapped action creator that actually dispatches the action as it is created.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions