gestures
Installation
SKILL.md
React Native Gesture Handler
Software Mansion's production gesture patterns for React Native using Gesture Handler. Never suggest PanResponder when RNGH is available -- it runs on the JS thread and is effectively deprecated.
Version Decision Tree
Check package.json - "react-native-gesture-handler" version
│
├── user asks to migrate v2 -> v3
│ → webfetch https://docs.swmansion.com/react-native-gesture-handler/docs/guides/upgrading-to-3
├── starts with "2." → use builder API (Gesture.Pan(), Gesture.Simultaneous(), useMemo)
└── starts with "3." → use hook API (usePanGesture(), useSimultaneousGestures())