react-native-animations
Master animations - Reanimated 3, Gesture Handler, layout animations, and performance optimization
By pluginagentmarketplace · 659 installs
npx skills add pluginagentmarketplace/custom-plugin-react-native --skill react-native-animations
Source repository · Upstream listing
React Native Animations Skill
Learn high performance animations using Reanimated 3, Gesture Handler, and layout animations.
Prerequisites
React Native basics
Understanding of JavaScript closures
Familiarity with transforms and styles
Learning Objectives
After completing this skill, you will be able to:
[ ] Create smooth 60fps animations with Reanimated
[ ] Handle complex gestures with Gesture Handler
[ ] Implement layout entering/exiting animations
[ ] Optimize animations for performance
[ ] Combine gestures with animations
Topics Covered
1. Installation
2. Reanimated Basics
3. Gesture Handler
4. Layout Animations
5. Animation Timing
Function Use Case
withTiming Linear, controlled duration
withSpring Natural, physics based
withDecay Momentum based (fling)
withSequence Multiple animations in order
withRepeat Looping animations
Quick Start Example
Common Errors & Solutions
Error Cause Solution
"Attempted to call from worklet" Missing runOnJS Wrap with runOnJS()
Animation not running Missing 'worklet' Add 'worklet' directive
Gesture not working Missing root view Add GestureHandlerRootView
Validation Checklist
[ ] Animations run at 60fps
[ ] Gestures respond smoothly
[ ] No frame drops on low end devices
[ ] Layout animations don't cause jank
Usage
Bonded Agent : 05 react native animation