~/talk

Using the Proxy API for State Management

Talkat JSNation Live 2021 · 2021-06-09..06-10· [javascript, frontend-architecture]

Builds a Proxy-based state wrapper that intercepts get and set traps, uses Reflect to forward operations and WeakMap caches to avoid double-proxying, and recursively builds proxies for nested properties so path subscriptions work. Hooks into apollo with isomorphic fetch against a headless WordPress via wp graphql, sets the posts array on state and the tates library subscribers log 10 posts by title, proving the approach works end to end.

AI-written summary · about

  1. 0:00Start
  2. 1:13About Myself
  3. 5:47Receiver
  4. 15:13Library for State Management
  5. 15:50Fetch Posts out of a Headless Wordpress Site
~/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.