
React Patterns
Modern React guidance covering components, hooks, state, React 19, performance, and TypeScript typing.
- skills.sh installs
- 970
- GitHub stars
- 50.1K
- last updated
- Jul 14, 2026
What it does
- Covers component types, hook extraction, state management selection, and composition patterns for production React apps
- Includes React 19 hooks (
useActionState,useOptimistic,use) and notes on when React Compiler applies - Enforces rules such as one responsibility per component, hooks at top level, and profiling before optimizing
- Designed for developers building or reviewing React and TypeScript applications who want consistent structure
Install
$ npx -y skills add sickn33/agentic-awesome-skills --skill react-patterns -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
React Patterns
Principles for building production-ready React applications.
1. Component Design Principles
Component Types
| Type | Use | State |
|---|---|---|
| Server | Data fetching, static | None |
| Client | Interactivity | useState, effects |
| Presentational | UI display | Props only |
| Container | Logic/state | Heavy state |
Design Rules
- One responsibility per component
- Props down, events up
- Composition over inheritance
- Prefer small, focused components
2. Hook Patterns
When to Extract Hooks
| Pattern | Extract When |
|---|---|
| useLocalStorage | Same storage logic needed |
| useDebounce | Multiple debounced values |
| useFetch | Repeated fetch patterns |
| useForm | Complex form state |
Hook Rules
- Hooks at top level only; React’s
useAPI is an exception that can be called in loops/conditions inside a component or Hook (not in try/catch); see use - Same order every render
- Custom hooks start with "use"
- Clean up effects on unmount
3. State Management Selection
Details
- Repository
- github.com/sickn33/agentic-awesome-skills
- Category
- Frontend & UI Code
- First seen
- May 16, 2026
More from sickn33/agentic-awesome-skills
All 682- Lint And Validate968
- File Organizer967
- Architect Review965
- Frontend Developer964
- Blockchain Developer956
- Seo Fundamentals956
- App Builder953
- Geo Fundamentals949
- Ai Engineer948
- Production Code Audit937
- Daily News Report921
- Doc Coauthoring921
- Content Creator914
- Tdd Workflow913
- Testing Patterns908
- Performance Profiling893
- Shopify Apps887
- Concise Planning879
- Code Documentation Code Explain874
- Flutter Expert873
- Security Audit863
- Autonomous Agent Patterns858
- Frontend Ui Dark Ts858
- Kubernetes Architect858
Similar to React Patterns
More Frontend & UI Code
react-modernizationsickn33/agentic-awesome-skills377 installsGuided React upgrade path covering class-to-hooks migration, concurrent features, and codemod-driven refactoring.
cc-skill-frontend-patternssickn33/agentic-awesome-skills1.1K installsFrontend patterns for React and Next.js covering state management, performance, and UI practices.
react-best-practicesalleneubank/claude-code3K installsDecision-tree guide for React components that steers logic away from unnecessary Effects toward render, events, and refs.
hooks-patternpatternsdev/skills1.2K installsReusable React Hooks guide for extracting shared stateful logic, forms, subscriptions, and side effects into custom hooks.
react-devsoftaworks/agent-toolkit4.2K installsType-safe React 18-19 patterns covering generic components, event typing, hooks, and router integration.
react-developmentmanutej/luxor-claude-marketplace470 installsComprehensive React guidance covering hooks, components, state, context, effects, and performance from official docs.