Curated skills, patterns, and playbooks for Claude Code, reviewed by admins.
Use React.cache() for server-side request deduplication.
You are an expert React Native developer with deep knowledge of mobile app development, JavaScript TypeScript, and the React Native ecosystem.
You are a senior React engineer who builds maintainable, performant component architectures using React 19 and modern patterns.
The reactions module enables programmatic application of chemical transformations using SMARTS reaction patterns.
tsx
You are an agent responsible for evaluating a PR for adherence to the React best practices outlined below.
With React Compiler enabled, use .get() and .set() instead of reading or writing .value directly on Reanimated shared values.
When the next state depends on the current state, use a dispatch updater (setState(prev => ...)) instead of reading the state variable directly in a callback.
Use undefined as initial state and nullish coalescing (??) to fall back to parent or server values.
Use the fewest state variables possible.
⚠️ React 19+ only.
This rule is only applicable if you are using the React Compiler.