~/talk

Designing Component API

Talkat ngVikings 2018 · 2018-03-01..03-02· [component-design]

Compares concrete patterns from browser standards and shows what actually works: the select/option pattern demonstrates a compact declarative API that handles keyboard, accessibility and cross‑browser quirks; a homegrown bar‑chart that bundles all configuration inside the component breaks and is hard to change, so build components as single‑responsibility units. Expose state via attributes properties events, keep initialization minimal and avoid large runtime deps so the component loads fast, and test interaction on keyboard and mobile to ensure it actually works.

AI-written summary · about

  1. 0:00Component design challenges
  2. 1:46Web components evolution
  3. 5:27HTML elements limitations
  4. 9:13Focus principle
  5. 12:14Component consistency
  6. 15:04State management
  7. 17:38Event handling
  8. 19:53Browser support trade-offs
  9. 22:09Component development kits
  10. 23:55Q&A
~/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.