A First Look at Reanimated 2 - Shopify
Jul 2, 2020

Summary
This post introduces Reanimated 2, a significant paradigm shift in building gestures and animations in React Native. It moves from Reanimated 1's declarative DSL to an animation worklet model, where JavaScript functions run on the UI thread independently from the main JavaScript thread. This eliminates the need to cross the React Native bridge for many operations, improving performance and reducing complexity. The post details the new API hooks: `useSharedValue`, `useDerivedValue`, `useAnimatedGestureHandler`, `useAnimatedStyle`, and `useAnimatedProps`, and provides an example of a draggable object. It highlights the benefits of reduced learning curve, expanded instruction set, and improved initialization performance.
More from the React Native Animation Performance trail
- FlashList v2: A ground-up rewrite for React Native's New Architecture (2025) - Shopify
- The Future of React Native Graphics: WebGPU, Skia, and Beyond (2025) - Shopify
- Improving Shopify App’s Performance - Shopify
- Getting Started with React Native Skia - Shopify
- Making Your React Native Gestures Feel Natural - Shopify