~/talk

Design Patterns for Modern Javascript

Talkat Connect.Tech 2022 · 2022-11-07..11-09· [javascript, frontend-architecture]
slides:none on file

Four concrete techniques: a module scope store that keeps a persistent, access-controlled cart via ES modules; weak maps to attach metadata to DOM nodes without memory leaks and to build idempotent event listeners; proxies used as dependency trackers to run only relevant validation rules; and tagged template literals to parse DOM and build tiny components. Demonstrations include a working cart badge, a form validator that skips dead rules, an auto-animate use of weak maps, and a 2KB reactive library (no virtual DOM) that updates 500 elements quickly.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:46Why we're here today
  3. 3:08Module scopes in JavaScript
  4. 15:29Weak maps explained
  5. 25:02Proxies and their magic
  6. 33:49Tagged template literals
  7. 39:31Combining the techniques
  8. 44:11Q&A session
~/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.