~/talk

The Virtue of Laziness: Leveraging Incrementality for Faster Web UI

slides:none on file

Demonstrates concrete techniques using LitElement and lit-html: batching updates so renders are async, a LazyLitElement that defers scheduleUpdate to setTimeout (demo shows 15 nodes at 50ms each totaling 750ms but painting only when allowed), an urgent path with requestUrgentUpdate to jump to microtask timing for fast hover, a runAsync directive that caches per-key async work and exposes initial/pending/success/error templates, and a PendingContainer mixin that aggregates child promises into a single top‑level spinner — all shown working in live demos.

AI-written summary · about

  1. 0:00Start
  2. 6:12Performance Developer Ergonomics
  3. 17:07Perform an async operation when data changes
  4. 21:31Model Async Operation State Build UI for Each State
~/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.