animation-with-worklets
CommunitySafe cross-thread worklet scheduling for RN.
Software Engineering#react-native#worklets#scheduleOnRN#scheduleOnUI#gesture-handlers#useAnimatedReaction
Authorjp2507-max
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Cross-thread coordination in React Native can be error-prone and hard to reason about. This Skill provides clear guidelines to safely schedule functions between the JavaScript thread and the UI thread using worklets, reducing bugs in animations and gesture handling.
Core Features & Use Cases
- Define functions outside inline using a stable reference and schedule them on the appropriate thread with the recommended helpers.
- Avoid unnecessary worklet directives and prefer automatic conversion when using scheduleOnRN and scheduleOnUI.
- Use cases include coordinating animation state updates, gesture-driven interactions, and cross-thread function calls in animation pipelines.
Quick Start
To begin, create a stable function with a useCallback hook and call scheduleOnRN or scheduleOnUI with that function reference in your animation or gesture handler code.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: animation-with-worklets Download link: https://github.com/jp2507-max/growbro-cultivation-app/archive/main.zip#animation-with-worklets Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.