Building a component library with SDC
summary
Builds a reusable Drupal component library using SDC schema in YAML with a strict data-component-id convention, uses slots to avoid prop bloat, and migrates legacy pages gradually via conditional rendering so editors can toggle components. Tests use Storybook with JSX stories for visual examples, Playwright for end-to-end checks, and Percy visual diffs (CI-triggered) to catch regressions; outcome is a working, test-covered library that reduces duplication and surfaces naming and dependency issues early.
AI-written summary · about
