~/talk

Let's Build A Virtual DOM

Talkat Vuejs Amsterdam 2023 · 2023-02-09..02-10· [frontend-architecture]
slides:none on file

Demo builds a tiny Vue 3 style VDOM from scratch and proves each piece works: a plain H function that returns vnode objects, DOM mounting plus mount/unmount/patch implementations, and simple handling that sets attributes and event listeners and recurses into children. Live coding shows text, nested nodes, arrays, unmounting, and a naive index-based patcher that actually updates the page; repo includes a reactivity.html that wires reactivity into the demo.

AI-written summary · about

  1. 0:00Start
  2. 3:04What is a Virtual DOM?
  3. 4:22Template Syntax
  4. 4:37Rendering Pipeline
  5. 6:09Render Functions - Creating virtual nodes
  6. 7:25Building our own Virtual DOM
~/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.