React-native-router-flux: Actions.popTo not updating/passing new props

Created on 16 Jul 2019  路  3Comments  路  Source: aksonov/react-native-router-flux

v4.0.4

For some reason when using this code:

Actions.popTo('myList', { title: item, cameFromDetails: true, uri: null, medical: true });

The props are not being passed back to the scene. When i use Actions.replace instead of popTo and pass the same props, it works.

What could be the problem? the docs say they work the same with the Params.

Cheers.

Most helpful comment

I used jump instead of popTo and it worked just as I wanted, weird thought because I thought it was only from jumping tab to tab.

All 3 comments

I used jump instead of popTo and it worked just as I wanted, weird thought because I thought it was only from jumping tab to tab.

Why is this closed? We are using 4.2.0 and PopTo with new props doesn't change the props. Just goes to the page and does not change props.

I used jump instead of popTo and it worked just as I wanted, weird thought because I thought it was only from jumping tab to tab.

Oddly worked for me too. Thanks for the suggestion

Was this page helpful?
0 / 5 - 0 ratings

Related issues

YouYII picture YouYII  路  3Comments

moaxaca picture moaxaca  路  3Comments

willmcclellan picture willmcclellan  路  3Comments

booboothefool picture booboothefool  路  3Comments

maphongba008 picture maphongba008  路  3Comments