Web Components: Designing Frontends for Reusability
summary
Repeatedly rebuilding the same filterable sortable table across four projects drives creation of a reusable "Bella" component that starts with HTML-first components (inputs and radios mapped to query params), adds accessibility with aria-label / aria-labelledby and role=group, uses minimal CSS classes plus CSS Grid for layout, and avoids JS until needed. When needed it uses a custom element with custom element connectedCallback, debounced keyup and fetch to replace tbody via fetch to remove flicker and keep history.
AI-written summary · about
chapters (5)
- 0:00Start
- 11:47Filter Field Component
- 19:00Sort Button Component
- 28:02Table Header Component
- 37:40Tabelle
related talks
41mWeb Components: Maintaining and Reusing your Frontend
39mWeb components - A whirlwind tour
49mBuilding Better Components - A Journey to a More Resilient Frontend
51mBuilding Better Components — A Journey to a More Resilient Frontend
24mDesigning Components for Fun, Profit and Sanity
44mThe Future is in Pieces
28mBuilding reusable UI components in Vue
56mThe Web, Its Frameworks and Its Standards: Deconstruct to (Re?)Construct
