What problem does it solve?
Reduce developer confusion and runtime bugs when building modern React UIs by providing clear patterns for hooks, component composition, performance optimization, and server/client boundaries in TypeScript. The guidance helps teams adopt consistent, maintainable practices across function components, context, refs, Suspense, and server components.
Core Features & Use Cases
- Comprehensive hooks reference and recommended usage for state, effects, memoization, transitions, and external subscriptions.
- Component patterns covering composition, render props, forwardRef, memoization, compound components, and generic typing.
- Advanced topics including Suspense, lazy loading, error boundaries, refs, portals, and server components with client directives.
- Use Case: Migrate a legacy class-based UI to a TypeScript-first functional component architecture with improved performance and testability.
Quick Start
Use the react skill to draft a TypeScript function component that uses hooks for state, memoization for expensive computations, and a Context provider for shared state.