~/talk

Say No To Complexity With AlpineJS

Talkat JSNation Live 2020 · 2020-06-18..06-19· [javascript, frontend-architecture]
slides:none on file

A tiny reactive framework that ships as 7.5 kilobytes served from a CDN and requires no build, AlpineJS exposes 13 directives and 6 magic properties to compose behavior in markup. Examples include a working counter, a 20‑character tweet box with real‑time length and conditional class binding, and a one‑line integration of Pikaday date picker via X‑init/X‑ref. It uses MutationObserver and direct DOM updates (no virtual DOM), supports X‑show with .away .window and transition modifiers, and pairs well with server‑rendered apps.

AI-written summary · about

  1. 0:00Start
  2. 17:07listening for key down events
  3. 19:02extract some of this logic into a separate javascript file
  4. 24:12create a virtual dom framework
~/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.