React patterns for hooks rules, component design, and rendering performance. Load before any edit to a .jsx or .tsx file, however small, and for React questions.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of React Patterns?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ku5ic-react-patterns)
---
name: react-patterns
description: React patterns for hooks rules, component design, and rendering performance. Load before any edit to a .jsx or .tsx file, however small, and for React questions.
---
# React patterns
Default assumption: React 19.3, per the React versions page.
A row applies when the `react` version in the project's `package.json` and lockfile is at least its version. Server Components belong to the framework that runs them, whose pattern skill loads when its signals are in the project.
## Reference files
Loading this skill isn't enough. Before your next edit, read the file of every row that matches it. The rules live in those files, and this one only points at them.
| Before | Read |
| --------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| Writing React code, or raising the React version | [reference/upgrades.md](reference/upgrades.md) |
| Writing, changing, or reviewing React code | [reference/anti-patterns.md](reference/anti-patterns.md) |
| Writing an Effect, state, a form or an Action, memoization, context, a long list, an image, an error boundary, or a new component | [reference/practices.md](reference/practices.md) |
| Configuring or running eslint-plugin-react-hooks, eslint-plugin-react, or the compiler | [reference/tooling.md](reference/tooling.md) |