Vercel Composition Patterns

Use when refactoring React components with boolean-prop proliferation, designing flexible component APIs, building reusable component libraries, or reviewing component architecture — compound components, explicit variant components, children-over-render-props, the context provider state/actions/meta interface, boolean state-explosion auditing, and the React 19 API migration (ref-as-prop, use() over useContext()). Do NOT use for render performance optimization (memoization, suspense, profiling), visual styling, or Next.js routing/server-component framework patterns. Do NOT use for Memoize this component tree to stop re-renders. Do NOT use for Style this card with the brand spacing and color tokens. Do NOT use for Set up the App Router route and a server component for this page.

jacob-balslev 2c02f6a 4 files · 37.6 KB Updated

File contents

jacob-balslev/skill-graph/tree/main/marketplace/skills/vercel-composition-patterns commit 2c02f6a050

Frequently asked questions

npx skillmds@latest add jacob-balslev/vercel-composition-patterns