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
Problem
On click to navigate to new scene, whenever I use the Actions.replace('SceneName'), the action is not working and the error log is Cannot read property of 'map' of undefined in StackRouter.js of React Navigation.
My Quick Solution
For quick fix, I used Actions.pop(); Actions.push('SceneName'). And this works for me.
I just wonder why it does not work when I use the Actions.replace('SceneName').
Version
Tell us which versions you are using:
react-native-router-flux v4.0.0-beta.28 (v3 is not supported)
react-native v0.52.0
Expected behaviour
Reload the scene with a new scene.
Actual behaviour
The text was updated successfully, but these errors were encountered:
Problem
On click to navigate to new scene, whenever I use the
Actions.replace('SceneName')
, the action is not working and the error log isCannot read property of 'map' of undefined
in StackRouter.js of React Navigation.My Quick Solution
For quick fix, I used
Actions.pop(); Actions.push('SceneName')
. And this works for me.I just wonder why it does not work when I use the
Actions.replace('SceneName')
.Version
Tell us which versions you are using:
Expected behaviour
Reload the scene with a new scene.
Actual behaviour
The text was updated successfully, but these errors were encountered: