What problem does it solve?
It prevents slow, buggy, and inconsistent React implementations by standardizing how React 19 components, hooks, Suspense/lazy loading, and TypeScript patterns should be written.
Core Features & Use Cases
- React 19 component patterns: Use function components with typed props, stable render behavior, and correct ref handling (no unnecessary forwardRef).
- Hook best practices: Apply correct dependency management and safe state updates with useState, useEffect, useCallback, and useMemo.
- Suspense & code splitting: Load heavy UI with React.lazy and wrap it with Suspense boundaries for graceful loading states.
- Performance optimization: Reduce re-renders with React.memo and avoid inline handler creation that defeats memoization.
- TypeScript correctness: Model props/state with interfaces, type-safe hooks, and predictable component typing.
Use Case Example: When building a mobile-first UI, implement a dashboard that lazy-loads expensive charts, shows skeleton fallbacks with Suspense, and keeps handlers stable to minimize unnecessary re-renders.
Quick Start
Use the react skill to design a React 19 TypeScript component with hooks, an appropriate Suspense boundary for a lazy-loaded subcomponent, and a performance plan that avoids avoidable re-renders.