Grokking React Native
Vote

0% completed

​

Gesture Handling Basics with React Native Gesture Handler

A gesture is a pattern of finger movement that an app recognizes as one action: a quick touch is a tap, a touch that stays in place is a long press, and a touch that moves is a pan. The system has to watch each touch for a moment before it can tell which one the user intends.

Pressable handles the simple cases, and you should keep using it for buttons. Drags, swipes and pinches need more, and the React Native Gesture Handler library provides it. The library recognizes touches on the native side rather than on the JavaScript thread, so a busy JavaScript thread does not delay recognition

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content