reanimated-skia-performance
Installation
SKILL.md
Reanimated + Skia Performance
Defaults
- Keep animation state on the UI thread:
useSharedValue,useDerivedValue, worklets. - Prefer Reanimated v4 declarative APIs; avoid legacy
Animated. - Prefer
shared.get()/shared.set()overshared.valuein app code (React Compiler friendly). - Minimize JS↔UI crossings: avoid
scheduleOnRN/runOnJSexcept for unavoidable side effects. - For Skia, avoid per-frame React renders: pass
SharedValues directly to Skia props/uniforms.