Skip to content

how to use nested scene? #1142

Closed
Closed
@leonardgithub

Description

@leonardgithub

Version

Tell us which versions you are using:
"react-native-router-flux": "3.31.1",

  • react-native-router-flux v3.?.?

  • react-native v0.?.?

    "react": "15.2.1",
    "react-native": "0.30.0",

Expected behaviour

Go to nested scene2 without error

Actual behaviour

I go to the scene1 by clicking the scene1 tab at the bottom of the screen, then red screen shows with error as below:
ExceptionsManager.js:61 Objects are not valid as a React child (found: object with keys {key, name, sceneKey, parent, type, children, index, sceneStyle}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method of View.

my router config:

router_config.txt

ps: I want the sub-scenes share the same parent scene.

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