What problem does it solve? Frontend developers often reinvent solutions for common UI challenges like state management, data fetching, form validation, and performance optimization, leading to inconsistent and hard-to-maintain React codebases. ## Core Features & Use Cases - Component & Hook Patterns: Provides composition, compound components, render props, and reusable custom hooks like useToggle, useQuery, and useDebounce. - Performance Optimization: Covers memoization with useMemo/useCallback/React.memo, code splitting with lazy loading, and list virtualization using @tanstack/react-virtual. - Forms, Errors & Accessibility: Includes controlled form validation, error boundaries, Framer Motion animations, keyboard navigation, and focus management. - Use Case: When building a dashboard with a long scrollable list of items, apply the virtualization pattern with useVirtualizer to render only visible rows and keep the UI responsive. ## Quick Start Ask the AI to apply the frontend-patterns skill to refactor a React component for better performance and accessibility.