{"library":"react-native-gesture-handler","type":"library","category":null,"description":"React Native Gesture Handler is a declarative API that exposes the native platform's touch and gesture system to React Native applications. It provides a robust and performant way to handle complex gestures like pan, pinch, rotate, and tap directly on the native UI thread, leading to smoother animations and a more responsive user experience compared to JavaScript-based gesture systems. The current stable version is 2.31.1, with an active release cadence that frequently publishes patch and minor updates, and a significant version 3.0 in public beta. Key differentiators include its deep integration with the native UI, enabling seamless interoperability with `react-native-reanimated` for advanced animations, and its move towards a hook-based API in version 3 designed for React Native's New Architecture. It aims to reduce the load on the JavaScript thread by offloading gesture recognition to the native side.","language":"javascript","status":"active","version":"2.31.1","tags":["javascript","typescript"],"install":[{"cmd":"npm install react-native-gesture-handler","imports":["import { GestureDetector, Gesture } from 'react-native-gesture-handler';","import { TapGestureHandler, State } from 'react-native-gesture-handler';","import { gestureHandlerRootHOC } from 'react-native-gesture-handler';","import { GestureHandlerRootView } from 'react-native-gesture-handler';"]},{"cmd":"yarn add react-native-gesture-handler","imports":[]},{"cmd":"pnpm add react-native-gesture-handler","imports":[]}],"homepage":"https://docs.swmansion.com/react-native-gesture-handler/","github":"https://github.com/software-mansion/react-native-gesture-handler","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-native-gesture-handler","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-native-gesture-handler/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}