Skip to content

code comment recommends using useActions hook in most cases where one would want to use the useDispatch hook #1322

@bmwadforth

Description

@bmwadforth

There is a comment in the source code within the useDispatch file located under /src/hooks/useDispatch that recommends instead of using useDispatch, it is recommended to use the useActions hook in most cases. This comment contradicts the documentation found here.

Specifically, the documentation mentions the useActions hook has been removed.

Thus, the comment within the useDispatch source code should be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions