Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native use route undefined

// When you are sending parameters to nested navigators
// you have to send it like below

navigation.navigate('Modal', {
    screen: 'Modal',
    params: { title: 'title' },
})
 
PREVIOUS NEXT
Tagged: #react #native #route #undefined
ADD COMMENT
Topic
Name
8+6 =