React Composition Patterns
Refactor React components with compound components, state lifting, and composition patterns that avoid boolean-prop sprawl.
Typical outcome
Replace components with too many boolean props.
Best for
React developers designing reusable component APIs and shared UI systems.
View example prompt ↗
Refactor this component using composition patterns without changing its behavior.