I am trying to make a react native application. I am using Bottom Tab Navigation, and I have 2 screens. On the first screen, a qr code is first scanned, it contains a string, which is written on the screen. Then I would like to write out the afformentioned string on the second tab. How can I pass this data
Tag: react-navigation
React native Context API react-navigation
React native: ^0.64.0, @react-navigation/native-stack: ^6.1.0 @react-navigation/bottom-tabs: 6.0.5 @react-navigation/native: 6.0.2 I have a login screen. If the user passes the login screen the app leads the user to a the main part of the app. This is is the MainScreen with a bottom tab bar. The bottom tab bar gives the user the option to move between EditProfileScreen, SetupsScreen & TipsScreen.
hi i’m using react-native and react-navigation
when i try to navigation.navigate this error occure Cannot read property ‘navigate’ of undefined this is my code when i try to navigation.navigate this error occure Cannot read property ‘navigate’ of …
Press tab to scroll to top of flatlist
I would like to implement scrolling to top. My tab is a flatlist, and when users scroll down the flatlist, they have to scroll back up. Instagram and Twitter allow you to press the tab to scroll back …
Navigate between different components React Native
So I’ve been trying to understand how to do this for like 2 hours now but I can’t seem to figure it out. I want to be able to go from one component to another when the button is clicked. First.js …
Is the navigation prop immutable / pure? – react navigation v4
I’m using React Navigation v4, and I need to know if the navigation prop is immutable because I want to wrap my component with React.memo For context here is my (hopefully) pure React component: //…
ENOENT: no such file or directory when installing react-navigation in react-native project
I’m getting a few errors while I’m installing react-navigation in my react native project with npm install @react-navigation/native The installation goes halfway and stops for a couple minutes and …
React Navigation V5 Hide Bottom Tab in Specific Screens
I am creating a React Native app using React Navigation version 5, and I have a bottom tab navigator with a stack navigator nested inside each screen of the tab navigator. I only want the bottom tab …
How to pass data back to previous screen in react native navigation v5?
I just updated to react native navigation version 5. Now I am trying to send data back to previous screen on goBack() call. I push next view with And making move back after selecting item from FlatList with call: But by sending function over with params I get a warning: Non-serializable valuse were found in […]
React Navigation V5 Hide Bottom Tabs
I would like to be able to hide the tabs on a screen using React Native Navigation v5. I’ve been reading the documentation but it doesn’t seem like they’ve updated this for v5 and it refers to the &…