expo-triple-touch-reload

0.1.1 • Public • Published

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 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.

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

Readme

Keywords

Package Sidebar

Install

npm i expo-triple-touch-reload

Weekly Downloads

2

Version

0.1.1

License

ISC

Unpacked Size

15.5 kB

Total Files

7

Last publish

Collaborators

  • laeijebor