Closed bleedingAyush closed 2 years ago
Same issue with StackNavigator
+1, same problem with bottom tabs
Can you please try again with the latest version of react-navigation
? I see that they changed the relevant code a little:
https://github.com/react-navigation/react-navigation/commit/ebab5183522f5ae03f50f88289c0e7acc208dc02#diff-ac26dec88d71b31af2479666afdc8aaff2b1c846459c603034bf5b7727184516L40
Whenever I am switching bottom tabs my LogBox gives me a warning saying
Accessing the 'state' property of the 'route' object is not supported. If you want to get the focused route name, use the 'getFocusedRouteNameFromRoute' helper instead:
. But when I uncommentwydr
import the error resolves. I have posted on StackOverflow about this question too stackoverflow-question