Don't shake 👋 ! Just touch 👈
this project inspired from https://github.com/pie6k/react-native-dev-menu-on-touch
npm install sendbird/react-native-touch-reloadyarn add sendbird/react-native-touch-reloadimport { TouchReload } from 'react-native-touch-reload'; const ReloadableApp = () => { if (!__DEV__) return <App />; return ( <TouchReload DEFAULT_VISIBLE={boolean} ACTIVE_TOUCHES={number}> <App /> </TouchReload> ); }; AppRegistry.registerComponent(appName, () => ReloadableApp);import { withTouchReload } from 'react-native-touch-reload'; const ReloadableApp = withTouchReload(App, DEFAULT_VISIBLE?, ACTIVE_TOUCHES?); AppRegistry.registerComponent(appName, () => ReloadableApp);| props | required | default |
|---|---|---|
| DEFAULT_VISIBLE | false | false |
| ACTIVE_TOUCHES | false | 3 |
