Skip to content

question about router deactivation order #589

@davissuber

Description

@davissuber

This is a question regarding the reason why Routers first deactivate themselves before dispatching the deactivation to their children and perhaps a proposal to reverse that order.

For Android, the code is in this neighborhood, where dispatchDetach is called before detachChild (which will eventually call dispatchDetach on the child as well).

For iOS similar behavior can be observed here in the deinit block of Routers.

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