react
Installation
SKILL.md
React — Components, Hooks, State, Styling
Modern React component, state, effect, and styling patterns. Baseline is React 19.2 + React Compiler v1.0 (stable since October 2025) and Tailwind v4.
Quick Reference — When to Load What
| Working on… | Read |
|---|---|
| Starting a new app, page, or screen | SHADCN.md + TAILWIND-TOKENS.md first — check what the repo already has |
| Splitting components, custom hooks, file size, prop drilling | COMPONENT-DESIGN.md |
| useEffect — whether you even need one, cleanup, dependency arrays | USE-EFFECT.md |
Re-renders, memoization, React Compiler, list keys, <Activity> |
PERFORMANCE.md |
| Loading skeletons, empty states, Suspense + error boundary pairing | LOADING-STATES.md |
| Client state stores — Zustand, selectors, middleware, slices | ZUSTAND.md |
| Styling — colors, spacing, design tokens, no arbitrary values | TAILWIND-TOKENS.md |
| Forms — React Hook Form, Zod, field errors, submission state | FORMS.md |
shadcn components — Base UI vs Radix, cva variants, cn(), where files go |
SHADCN.md |