react
Installation
SKILL.md
React Guide
Applies to: React 18+, TypeScript, Single Page Applications, Component Libraries, Web Apps
Core Principles
- Component-Based: Build encapsulated components that manage their own state
- Declarative: Describe what UI should look like, React handles DOM updates
- Unidirectional Data Flow: Props down, callbacks up
- Composition Over Inheritance: Prefer component composition and custom hooks
- TypeScript First: All components use TypeScript with strict prop interfaces