Skip to content

Event order is counter-intuitive #8

Description

@matthew-dean

Currently, this component fires componentWillEnter on the new component before componentWillLeave is fired on a previous component. Meaning, it's entering the new component before the old one has left.

What's the purpose then of the componentDidLeave callback if it doesn't wait until the callback is fired before firing componentWillEnter on the new component? 🤷‍♂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions