UNPKG

expo-triple-touch-reload

Version:

Add triple touch reload to Expo apps, with the deprecation of two finger reload

39 lines (24 loc) 838 B
# expo-triple-touch-reload A simple wrapper component to add triple touch reload to Expo, following the deprecation of two-finger touch developer menu. Don't shake your phone / laptop - triple-tap! ## Installation ```npm npm install expo-updates expo-triple-touch-reload ``` ## Usage Simply wrap your main entry point in the default export from expo-triple-touch-reload and it will add a Gesture Handler that reloads your Expo app whenever you tap with three fingers. ```typescript jsx import React from "react"; import TripleTouchReload from "expo-triple-touch-reload"; import MyHomePage from "./screens/MyHomePage"; const App = (props) => { return ( <TripleTouchReload> <MyHomePage/> </TripleTouchReload> ) } export default App; ``` ## License [ISC](http://opensource.org/licenses/ISC)