~/talk

Vue 3 Reactivity under the hood

Talkat Vue.js Global 2020 · 2020-09-17..09-18· [javascript, frontend-architecture]
slides:none on file

Shows that Vue 3 swaps Object.defineProperty for Proxy and Reflect and organizes dependencies with targetMap/depMap and WeakMap instead of per-property descriptors. Implements a tiny reactive engine: a dependency Set, track/trigger, a reactive(proxy) wrapper and watchEffect to register effects. The live demo wires price and quantity to a computed total and a color input, updates the DOM instantly, and the simplified implementation works; full source (complete target map version) is linked.

AI-written summary · about

  1. 0:00Start
  2. 3:31Ingredients
  3. 3:58Dependency class
  4. 5:04Making the data reactive
  5. 9:26Proxy
  6. 10:03Organization of data
  7. 12:21Terminology
~/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.