Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
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/karthikrshet-react-patterns)
---
name: react-patterns
description: "Modern React: component composition, hooks rules, state placement, server components, suspense and data fetching."
tags: [frontend, typescript]
---
# React Patterns
## When to use
- React or Next.js UI work
## Procedure
1. Keep components small and composable
2. Lift state only as far as needed
3. Derive instead of syncing state
4. Use server components for data fetching where available
5. Handle loading, empty and error states
6. Memoise only after measuring
## Checklist
- [ ] No useEffect for derived state
- [ ] Keys stable
## Anti-patterns
- Prop drilling through many layers instead of composition;useEffect chains