~/talk

DIY Components: Why and how?

Talkat YGLF 2019: Code Camp · 2019-04-03..04-04· [component-design, accessibility]
slides:none on file

Claim: the DIY route almost always right for a complex dropdown that native select cannot style or extend. Examples use React and reactor‑boilerplate, cite 21,000 GitHub stars, and contrast component libraries (can accidentally add ~15 MB) with rolling a custom select, modal or multi‑select. Concrete techniques covered: input type=hidden sync for form interoperability, custom elements with is=, reliance on HTML5.2 dialog, keyboard handling, accessibility, testing, and the inevitability of refactors when APIs and edge cases grow.

AI-written summary · about

  1. 0:00Introduction
  2. 2:04Web Components
  3. 3:20Inputs
  4. 5:27HTML History
  5. 7:18Example
  6. 8:19Modal Dialog
  7. 10:06Dialog Tag
  8. 11:34Multiselect
  9. 13:15Why not
  10. 15:35How
  11. 17:05Users
  12. 19:53Responsible Choice
  13. 20:52Caveat
  14. 21:40Manual
  15. 22:07Feature Complete
  16. 22:58Accessibility
  17. 26:02Accessibility tools
  18. 27:06Summary
  19. 28:09Word Game
  20. 28:48Disclaimer
  21. 29:22Input API
  22. 31:40Component that tries
  23. 34:31Component reuse example
  24. 35:43Interoperability
  25. 36:05Form example
  26. 37:04How to fix this
  27. 37:59Custom Elements
  28. 38:29Classic Class
  29. 39:22Drawbacks
  30. 39:36Gift
  31. 39:54Flexibility
  32. 40:09In practice
  33. 40:39The first way
  34. 42:44Recap
~/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.