What problem does it solve?
This Skill acts as a comprehensive guide to writing and reviewing React code, helping developers make informed decisions about hooks, patterns, and performance optimizations, thereby reducing bugs and improving code quality.
Core Features & Use Cases
- Skill Routing: Directs users to specialized React skills based on their specific needs (e.g.,
react-usecallback, react-usememo).
- Best Practices: Provides clear guidelines on cross-cutting principles like "Derive, Don't Sync" and state management.
- AI Code Review Checklist: Offers a structured checklist to audit AI-generated React code for common anti-patterns.
- Use Case: When unsure whether to use
useCallback or useMemo, consult this guide to be directed to the appropriate specialized skill and understand the underlying principles.
Quick Start
Use the react-senior-guide skill to understand when useCallback is needed.