React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.
- Initial release of vercel-composition-patterns v1.0.0. - Provides React composition guidelines focused on avoiding boolean prop proliferation. - Documents when and how to apply compound components, render props, context providers, and other scalable patterns. - Includes rule categories by priority: Component Architecture, State Management, Implementation Patterns, and React 19+ APIs. - Adds quick reference for rule prefixes and summaries, with detailed rule files for deeper guidance. - Includes updates and rules relevant for React 19 API changes.