Skip to content

Clarify you should almost never dispatch() inside subscribe() listener #1627

@gaearon

Description

@gaearon

This is possible but it’s not a recommended pattern, and you can run into a stack overflow.
We should make it clearer in the docs.

PRs are welcome.

Context: #1498 (comment)

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