Skip to content

Best Way to Navigate to a Scene from Different Parent? #1005

Closed
@jadidian

Description

@jadidian

Version

Tell us which versions you are using:

  • react-native-router-flux v3.30.1
  • react-native v0.30.0

Let's say we have

<Scene key="a" type="reset">
    <Scene key="aa" />
    <Scene key="ab" />
</Scene>
<Scene key="b" type="reset">
    <Scene key="ba" />
    <Scene key="bb" />
</Scene>

And current scene is "bb", whats the best way to construct "a" and go to "ab" with a back button to "aa"?
Should I call these two

Actions.a();
Actions.ab();

Or is there any way to do it in one call?

I know Github issues is not the place for asking questions, but I couldn't find any answers in documentation, or the example or previous Github issues, the closest one I found was #645 with a link to nowhere at the bottom.

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