Rule React

Composition Over Props

Prefer component composition over deeply nested prop drilling

reactcompositionpatterns
CLAUDE.md

Prefer component composition over deeply nested props. Use children and render props to pass content down rather than threading data through many component layers. Composition is more flexible and readable.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl