~/talk

What the v...DOM?

Talkat Web Rebels 2018 · 2018-06-04..06-05· [javascript, frontend-architecture]
slides:none on file

Walks through parsing and transforming JSX with Babel parse/transform/traverse/generator, builds a tiny virtual DOM factory that produces JS objects and a render/diff loop, and demonstrates a list that adds one item per second where initial naive render repaints everything (paint flashing) and a crude diff reduces work to a single inserted node. Claims a personal reimplementation of vDOM at 3.75 KB and 129 lines (not production), contrasts that with preact’s ~8 KB minified, and shows template-literal approaches (lit-html/hyperHTML) as an alternative.

AI-written summary · about

  1. 0:00Introduction and context
  2. 0:53Imperative vs declarative
  3. 4:47Code transformations
  4. 10:02Implementing a UI renderer
  5. 14:25Virtual DOM explained
  6. 20:27Diffing and optimization
  7. 25:51New UI paradigms
  8. 29:00Q&A and final thoughts
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.