~/talk

Web Components: Designing Frontends for Reusability

Talkat Ruby on Ice 2019 · 2019-02-22..02-24· [web-platform, component-design]
name:Joy Heron
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 11:47Filter Field Component
  3. 19:00Sort Button Component
  4. 28:02Table Header Component
  5. 37:40Tabelle
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.