Answers for "how to reload in react native"

0

reload app in react native

import {DevSettings} from 'react-native';

// Just call reload method 
DevSettings.reload()
Posted by: Guest on February-15-2022
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 "how to reload in react native"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language