Declarative future of gestures and animations in React Native
summary
Argues that moving gesture recognition and animation logic off the JS thread prevents frame drops, demonstrates JS fps falling from ~60 to ~20 when JS blocks, and shows a working declarative image preview built without imperative callbacks. Uses react-native-gesture-handler to run gesture logic on the native/UI thread, leverages the useNativeDriver idea for events, and introduces reanimated as a JavaScript-based animation engine that is 100% imperative-free and successfully reproduces bouncy pinch/decay interactions.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 1:25Understanding animations
- 10:30Gesture handler system
- 15:21React Native Gesture Handler
- 22:00Reanimated library
- 27:14Conclusion
related talks
35mAnimations and gesture handling in React Native and native languages
28mReact Native Touch & Gesture
29mIt all starts with navigation
10mReact Native, your UX superhero
22mCan it be done in React Native
46mAnimations in React Native
25mReact Native <3 60FPS -- Improving React Native animations>
22mA Novel Approach to Declarative Animations in React Native
