react-best-practices
Originally fromskillcreatorai/ai-agent-skills
Installation
SKILL.md
React Best Practices
Comprehensive performance optimization and best practices for React applications, designed for AI agents and LLMs working with React code.
When to Activate This Skill
Use this skill when the task involves:
Writing React Code
- Creating new React components or hooks
- Writing JSX elements or fragments
- Implementing state management with
useState,useReducer, etc. - Setting up effects with
useEffect,useLayoutEffect - Creating memoized values or components with
useMemo,useCallback,memo()