How to send data in previous screen with help of goBack() ?
I tried already. For ex: this.props.navigation.navigate('Login', {name: this.state.name})
How to send data in previous screen with help of goBack() ?
I tried already. For ex: this.props.navigation.navigate('Login', {name: this.state.name})
Copyright © 2021 Jogjafile Inc.
If you simply want to pass data to the previous screen then the below works:
Parent screen:
Child screen: