react-19
Installation
SKILL.md
When to Use
Triggers: When building React components, using hooks, working with forms, or server/client components.
Load when: writing React components, using hooks, handling forms, working with Server/Client components, or migrating from React 18.
Critical Patterns
Pattern 1: React Compiler — No manual memoization
// ✅ React Compiler optimizes this automatically
function ExpensiveComponent({ data }: { data: number[] }) {
const result = data.reduce((acc, n) => acc + n, 0); // Compiler memoizes it
return <div>{result}</div>;
}
Related skills