React best way of forcing component to update
this.forceUpdate();
React best way of forcing component to update
this.forceUpdate();
how to rerender a page in React when the user clicks the back button
We had a similar desire and solved it by passing a refresh function from the parent to the child.
for example, when you open the child, you would have something like navigate('Child', { refresh: refreshFunction }
You can then access this function in the child ( via something like this.props.navigation.state.params.refresh(); ) before the back action.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us