Skip to content

dispatch changes reference on every call. #4

Open
@amsterdamharu

Description

@amsterdamharu

If I want to to use dispatch in an effect then dispatch is a dependency and since dispatch changes on every call to useCombinedReducers the effect will be called every time.

A stack overflow issue can be found here.

The pull request is here

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