Exact public version
react-composition-patterns v1
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. Do NOT use for React/Next.js performance optimization (use react-best-practices instead).
d822ac8305430f02405f6d464778ac3e1b276e24da6fce0a90d8d81a9fe9d232Package contents
Manifest
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. Do NOT use for React/Next.js performance optimization (use react-best-practices instead).
2d29074e2b416c3ac2608e81b28be67ee90f3802e5862646c10077c36855f47c- AGENTS.md22,627 bytes
- README.md2,140 bytes
- SKILL.md2,965 bytes
- rules/_sections.md829 bytes
- rules/_template.md329 bytes
- rules/architecture-avoid-boolean-props.md2,267 bytes
- rules/architecture-compound-components.md2,600 bytes
- rules/patterns-children-over-render-props.md1,886 bytes
- rules/patterns-explicit-variants.md2,395 bytes
- rules/react19-no-forwardref.md953 bytes
- rules/state-context-interface.md4,974 bytes
- rules/state-decouple-implementation.md2,699 bytes
- rules/state-lift-state.md3,224 bytes
