In this post, we will see how to resolve React Navigation : Current screen also updates when pushing same screen in stack Question: When i push Posts screen in a stack navigator with query prop, prev screen also updates and ...
In this post, we will see how to resolve “Found screens with the same name nested inside one another” after upgrade to react-navigation v6 Question: I’ve seen other people with the same issue but I can’t get my code to ...
Question: I wanted to start updating my react-navigation dependency from version 5.X to version 6.x but I’m running into problems regarding an accessibility setting that is hardcoded in the codebase for their bottom tab bar. In their BottomTabBar.tsx they have ...
Question: I’m building a react native app and using react navigation v6 library. I’ve built a react navigator that works fine for the most part, but I’m facing this bug when navigating to a certain page. I have a stack ...
Question: I have a ‘shows’ screen which has a list of shows, clicking goes to a show detail page. On the detail page, it has 3 tabs, but one is hidden if feedurl is blank. This throws an error when ...
Question: I am trying to use @react-navigation/native-stack and presentation: ‘modal’ to get more native feel on tablets. My problem is I did not find any way how to get dimensions of modal window. I tried both useWindowDimensions() and Dimensions.get('window/screen') but ...
Question: What I want to achieve is straightforward. I want the user to be forced to confirm exiting a tab navigator called ‘checkout’. I read on React Navigation docs about preventing going back about the ‘beforeRemove’ event which seems neat ...
Question: If I create custom drawer: It requires to pass props in order to get navigation object inside it. And if I have following: And inside ClientsScreen I have FlatList which has: inside ClientCard component which is not screen it’s ...
Question: Having a navigation type definition as bellow, when I navigate from e.g AOne to BTwo with id:99 the console log of props.route.params shows correct info. But props.route.params.id throws type error TypeError: undefined is not an object (evaluating ‘props.route.params.id’) is ...