What problem does it solve?
This skill prevents common React 19 mistakes by guiding you to use the right composition, hooks, state primitives, and performance approach for modern component development.
Core Features & Use Cases
- React 19 composition & architecture: build compound components, polymorphic components, and
ref-as-prop APIs without forwardRef in new code.
- Hooks, state, and async UI correctness: apply React 19 state patterns with
useActionState, useOptimistic, use(), Suspense, Error Boundaries, and derived-state rules that avoid effect-based derivation.
- Performance & React Compiler readiness: decide when to rely on the React Compiler vs when to use manual
memo/useMemo/useCallback, plus useTransition, useDeferredValue, and virtualization.
- Server Components decisioning: choose Server vs Client boundaries and implement Suspense streaming with the correct caveats.
Quick Start
Use the react skill to build a React 19 feature by asking: "Implement an optimistic todo list using useActionState and useOptimistic in React 19, with Suspense and an ErrorBoundary for loading failures."