What problem does it solve?
This skill eliminates common React anti-patterns, such as unnecessary manual memoization and improper Effect usage, ensuring your codebase remains clean, performant, and aligned with modern compiler-optimized standards.
Core Features & Use Cases
- Compiler-First Development: Leverages React Compiler to handle memoization automatically, removing the need for manual useMemo or useCallback.
- Tailwind v4 Integration: Provides strict syntax rules for the latest Tailwind version, including CSS variable usage and descendant selectors.
- State Management: Enforces clean data attribute styling (data-slot, data-state) and pure rendering logic to prevent common state-synchronization bugs.
Quick Start
Apply the react skill guidelines to refactor the current component by removing manual memoization and implementing data-slot patterns for styling.