React-native-router-flux: Get navigator stack

Created on 27 Sep 2016  路  4Comments  路  Source: aksonov/react-native-router-flux

Version

Tell us which versions you are using:

  • react-native-router-flux v3.32.0
  • react-native v0.29

Expected behaviour

Actual behaviour

Steps to reproduce

I need to get stack of navigator where state set when navigate and after poped value.

Plz suggest

question

Most helpful comment

Suppose I open 10 scene and these are stored in the any stack array how can I manipulate that array

All 4 comments

this.props.navigationState

Suppose I open 10 scene and these are stored in the any stack array how can I manipulate that array

Hello @uc-asa,

Can you find a way to access the stack?

Thanks!

It indeed seems impossible to find an overview of the current stack. Only if an item has children, you can find the children in the stack, but it seems impossible to just find an array with all the scene's that are on the stack at the current moment. Which makes it very hard, in a dynamic app, to determine how many items you have to pop etc.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sarovin picture sarovin  路  3Comments

sreejithr picture sreejithr  路  3Comments

rafaelcorreiapoli picture rafaelcorreiapoli  路  3Comments

vinayr picture vinayr  路  3Comments

tonypeng picture tonypeng  路  3Comments