~/talk

Hotwire Demystified

Talkat RailsConf 2021 · 2021-04-12..04-15· [ruby, web-platform]
slides:none on file

DHH’s Hotwire from Basecamp claims real interactive apps with minimal JS: it sends HTML Over The Wire using three components—turbo frames, turbo streams, and stimulus/strata—and wires realtime updates via Action Cable. Examples include updating a cart badge and replacing a product fragment via turbo stream payloads, async frame src loading, and model broadcasts. The live demo asserts a chat with multiple rooms and “no JS” beyond ~16KB of runtime, versus single‑page apps that often ship 1MB+.

AI-written summary · about

  1. 0:00Start
  2. 2:24What is Hotwire?
  3. 3:52Turbo Frames
  4. 8:46Turbo Streams
  5. 12:47ActionCable
  6. 16:34Tradeoffs
  7. 21:04Getting Data onto the Screen
  8. 24:25First Load (SPA)
  9. 33:51Agenda
~/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.