React-native-router-flux: Actions.pop({ key: 'scene' }) should be documented

Created on 6 Mar 2017  路  5Comments  路  Source: aksonov/react-native-router-flux

Version

Tell us which versions you are using:

  • react-native-router-flux v3.38.0
  • react-native v0.42.0

I found out, by pure luck, that I could pop a whole parent using Actions.pop({ key: 'scene' }) and it's not documented, and it's super useful to go back exactly where you want

documentation help wanted

All 5 comments

@pocesar what if that scene isn't in the stack?

Just tested this and it doesn't seem to behave any different than Actions.pop()

try to do with nested Scenes, you'll understand the limitation of Actions.pop()

got it, I misunderstood that this was specific to nested scenes

@pocesar Can you give me a detailed example
i am trying
Actions.pop({key: 'checkoutScreen'})
but it does not work

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sarovin picture sarovin  路  3Comments

fgrs picture fgrs  路  3Comments

willmcclellan picture willmcclellan  路  3Comments

basdvries picture basdvries  路  3Comments

xnog picture xnog  路  3Comments