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
It seems before the v2.1 bump that we have been incorrectly using a StackNavigator for navigation, which was fine but with the latest version of react-navigation we had to work around it by setting key to undefined when resetting the route.
Problem:
It seems before the v2.1 bump that we have been incorrectly using a StackNavigator for navigation, which was fine but with the latest version of
react-navigation
we had to work around it by setting key to undefined when resetting the route.Solution
The correct solution is to refactor our navigator to use a SwitchNavigator instead. react-navigation/react-navigation#1127 (comment)
IIRC I used the workaround as the refactor would be potentially quite hairy and that particular bump PR was already big and hairy enough.
The text was updated successfully, but these errors were encountered: