Answers for "reload view in react native"

0

react native doest reload

echo 256 | sudo tee -a /proc/sys/fs/inotify/max_user_instances
echo 32768 | sudo tee -a /proc/sys/fs/inotify/max_queued_events
echo 65536 | sudo tee -a /proc/sys/fs/inotify/max_user_watches
watchman shutdown-server

 Or
 
 echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances && watchman shutdown-server && sudo sysctl -p
Posted by: Guest on November-16-2020
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 "Shell/Bash"

Browse Popular Code Answers by Language