~/talk

Demystify the V DOM

Talkat NationJS React 2018 · on Friday, 2018-01-05· [react, frontend-architecture]
slides:none on file

Live codes a tiny React clone in plain JavaScript that actually renders to the DOM, implements createElement and renderNode, a Component class with setState that merges state and caches baseElement, and an update/diff that compares child lengths and appends the new item every ~2 seconds. Uses browser paint flashing to show it avoids full tree repaint. The demo runs in the browser, prints logs, and visibly updates without re-rendering the whole list.

AI-written summary · about

  1. 0:00Start
  2. 0:37The Virtual Dom
  3. 0:50Demystify the Virtual Dom
  4. 1:02What Is the Virtual Dom
  5. 2:16Helper Function
  6. 2:27Function Create Element
  7. 13:39Render Method
~/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.