Answers for "how to reload webview in react native"

0

how to reload webview in react native

You can set a key to the webview

key={this.state.key}
and then you can reload it by updating the state

this.setState({ key: this.state.key + 1 });
Posted by: Guest on October-13-2020

Code answers related to "how to reload webview in react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language