Skip to content
Advertisement

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

Advertisement