Answers for "react native i have to manually refresh for component to update"

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

Code answers related to "react native i have to manually refresh for component to update"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language