Need suggestion and advice,
I am using the below 2 lines of code in react native expo component,
this.props.navigation.navigate("App"); patchUser(this.state.dataSource.userInfo.username, this.state.dataSource.userInfo.firstName,this.state.dataSource.userInfo.lastName, this.state.dataSource.lastLoginTime);
my question:
will "patchUser()" be called always ? since this.props.navigation.navigate("App") has been executed before and it takes to another component ?
regards