Skip to content

Passing state to Scene through props #492

@Emilios1995

Description

@Emilios1995

Version

  • react-native-router-flux v3.2.8
  • react-native v0.23.1

I don't want to use Redux as state holder, I want instead to store the state in the top level component which contains the router, then pass part of the state to the routes through the props

Expected behaviour

When I update the state, the scenes's component should be updated with the new state in props

Actual behaviour

The Scene's components remains with the old version of the state

This was already fixed in #167 but the problem appeared again in v3

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