react
Installation
SKILL.md
React
Purpose
Write React where state lives in one place, effects are rare, and re-renders are understood rather than suppressed with memoization applied at random.
When to Use
- Building or reviewing React components.
- Diagnosing unnecessary re-renders or stale state.
- Deciding where state belongs: local, lifted, context, or server.
- Removing
useEffectcalls that should not exist.