~/talk

Building a Time Machine with ES6 Proxies

slides:none on file

Live coding builds a single function that returns an ES6 Proxy wrapping the app state, pushing full structuredClone snapshots into an array and tracking a currentIndex. Runtime tools: getters/setters as traps, a small onUpdate callback for UI reactivity, and simple timeline management that can jump back 5 seconds or spawn new timelines. Demo shows the game rewind and branching working, with caveats: full-state memory cost and past actions not mutating future.

AI-written summary · about

  1. 0:00JavaScript Proxies intro
  2. 3:05Proxy traps explained
  3. 5:11Proxy getters and setters
  4. 10:24Simple time machine
  5. 14:38Time travel with state history
  6. 21:26Time-travel game demo
  7. 26:01Timelines and advanced features
  8. 28:29Caveats and wrap-up
~/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.