You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.home->A->B ,B call Actions.popTo('home',{'name':'1'}),at scene home ,method componentWillReceiveProps will work
Actual behaviour
1.home->A->B ,B call Actions.popTo('home',{'name':'1'}),at scene home ,method componentWillReceiveProps doesn't work
2.but at B call Actions.pop({'name':'1'}) ,it pop to A, componentWillReceiveProps work,
3.at B sence,Actions.pop({popNum:2}),it pop to A ,doesn't popTo home.
Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
1.I from scene home to scene A,then sceneA to scene B
2.at scene B I call Actions.popTo('home',{'name':'1'})
3.it back to scene home ,but did't call componentWillReceiveProps
maybe i used wrong method,Ineed home->A->B ,and ,Back to home ,and at scene home i can do something .
thx!
The text was updated successfully, but these errors were encountered:
Version
Tell us which versions you are using:
Expected behaviour
1.home->A->B ,B call Actions.popTo('home',{'name':'1'}),at scene home ,method componentWillReceiveProps will work
Actual behaviour
1.home->A->B ,B call Actions.popTo('home',{'name':'1'}),at scene home ,method componentWillReceiveProps doesn't work
2.but at B call Actions.pop({'name':'1'}) ,it pop to A, componentWillReceiveProps work,
3.at B sence,Actions.pop({popNum:2}),it pop to A ,doesn't popTo home.
Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
1.I from scene home to scene A,then sceneA to scene B
2.at scene B I call Actions.popTo('home',{'name':'1'})
3.it back to scene home ,but did't call componentWillReceiveProps
maybe i used wrong method,Ineed home->A->B ,and ,Back to home ,and at scene home i can do something .
thx!
The text was updated successfully, but these errors were encountered: