Introduction
Gesture Handler aims to replace React Native's built in touch system called Gesture Responder System.
Installation
Requirements
Quick start
RNGH2 provides much simpler way to add gestures to your app. All you need to do is wrap the view that you want your gesture to work on with GestureDetector, define the gesture and pass it to detector. That's all!
Gesture composition & interactions
Composing gestures is much simpler in RNGH2, you don't need to create a ref for every gesture that depends on another one. Instead you can use Race, Simultaneous and Exclusive methods provided by the Gesture object.
Manual gestures
RNGH2 finally brings one of the most requested features: manual gestures and touch events. To demonstrate how to make a manual gesture we will make a simple one that tracks all pointers on the screen.
Gesture states & events
Every gesture can be treated as "state machine".