vercel-composition-patterns
81Refactor React Components with Composition
Boolean mode props make React components difficult to extend and understand. Apply composition guidelines to build explicit variants, shared context contracts, and reusable component parts.