What problem does it solve?
This Skill provides comprehensive guidance and patterns for developing React applications, ensuring code quality, maintainability, and efficient use of modern React features and libraries.
Core Features & Use Cases
- Component Development: Guidelines for creating reusable, well-structured React components, including patterns for complex UIs and migration strategies (e.g., Material UI to Radix UI).
- Data Fetching & Management: Best practices for using TanStack Query and RTK Query, including error handling, caching, and real-time updates.
- Form Handling: Standards for implementing forms with React Hook Form and Zod for robust validation and state management.
- Testing: Strategies for writing effective unit and integration tests using Testing Library and MSW.
- Use Case: When building a new feature that involves user input, data display, and interaction with an API, consult this Skill for guidance on component structure, data fetching, form validation, and testing to ensure a high-quality implementation.
Quick Start
Use the react skill to create a new component for displaying user profiles, following the guidelines for component structure and data fetching.