~/talk

Custom Elements in Production

Talkat CascadiaFest 2016 · 2016-08-03..08-05· [web-platform, frontend-architecture]
links:none on file
slides:none on file

Seattle Times runs raw Custom Elements in production for two years on a site with millions of pageviews, polyfilling only a 4K gzipped shim for custom elements. The codebase ships reusable elements like image-slider, an SVG map element that downloads one SVG once and inlines it for many instances while buffering style calls, and a declarative Leaflet map with tile-layer and marker child elements that expose a .map property and lookup API. Elements communicate via events and properties, follow single-responsibility, and work across v0/v1 upgrade callbacks.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:55Understanding web components
  3. 5:25Practical use cases
  4. 8:53Implementation methodology
  5. 12:00Showcasing component examples
  6. 18:56Design principles and best practices
  7. 24:13Evolution and future of specs
~/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.