I have a screen with form. Now in that form there’s a button that opens another screen where user selects the target option and upon selection they’re navigated back to the original form (stack navigator), the reasoning is that user can also create a new option there so they go to the same UI as they would if editing options
Tag: react-native-navigation
TypeError: route is undefined and undefined is not an object (evaluating ‘route.params’)
I’m getting TypeError: undefined is not an object (evaluating ‘route.params’) when passing props from my login component to notify component Here’s Login.js This is Notify.js Can anyone help? This is the attached snack.io link for the same. Answer app.js should be because navigation and route are passed into it, and then you can pass both into the notify component. how
React native navigation not displaying stack screen
I’m using React Native Navigation dependency as route. But I have problem in the following code which appears to do nothing. I’m trying to create 2 screens, one is login, the other is register (later on I will add button to move between them, right now even the default screen doesn’t work). App.JS Login.JS By reading the docs that should
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 the navigation state… Can someone
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 < v4 way of doing things. here is my code: Things I have tried: Accessing the options of the function and hiding