~/talk

HTMX – Say “no” to Complexity

Talkat XtremeJS 2024 · 2024-11-12..11-13· [javascript, frontend-architecture]
slides:none on file

HTMX replaces JSON roundtrips with endpoints that return HTML fragments and uses simple hx- attributes to wire interactions; demo stack is TypeScript + Bun + Hano and the repo includes a working to‑do app persisted to sqlite. Examples: a button that returns the server’s Bun version, email validation via hx-trigger with 200ms debounce, lazy loading, active search, and an infinite scroll with Pokémon API* that pages automatically. Works fast for typical apps but not for highly interactive canvases like maps.

AI-written summary · about

  1. 0:00HTMX introduction
  2. 3:53Tech stack for HTMX
  3. 7:30Basic HTMX flow demo
  4. 10:37HTMX pros and cons
  5. 13:06HTMX attributes
  6. 18:47Input validation
  7. 20:35Lazy loading search
  8. 23:26Infinite scroll demo
  9. 25:58Client-side handling with Alpine.js
  10. 26:39HTMX benefits
~/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.