Skip to content

1.0 How to reload parent when transitioning from child to parent? #2992

@shawnlan

Description

@shawnlan

Suppose I have the following states:

'parent'
'parent.child'

Is it possible to reload 'parent' every time transitioning from 'parent.child' back to 'parent'? Or is it possible to make a state always reload? Ex. a back button click.

I thought I can use 'uiOnParamsChanged' from 'parent' since my 'parent.child' has some parameters. However, 'uiOnParamsChanged' isn't called when transitioning from 'parent.child' to 'parent'.

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