~/talk

Making a difference with Turbo

Talkat Rails World 2023 · 2023-10-05..10-06· [ruby-on-rails, web-platform]
links:none on file
slides:none on file

Turbo adds a declarative morphing refresh mode to Turbo that diffs and applies minimal DOM changes (using the idiomorph library) so scroll, focus, CSS transitions and cached images stay intact. Applied to a new Hey calendar card table, it replaces 100+ lines of custom stream code, simplifies broadcasting by sending a single page-refresh action, and preserves dynamic frame content via data-turbo-permanent. Prototype runs internally, upstream PRs land in turbo and turbo-rails.

AI-written summary · about

  1. 0:00Introduction and background
  2. 7:59Turbo’s foundational idea
  3. 13:20Challenges with partial updates
  4. 17:18Introducing page refresh with morphing
  5. 22:39Demo of morphing in card table
  6. 25:33Simplifying broadcasting with page refresh
  7. 28:42Preserving DOM elements during morphing
  8. 30:50Pagination with morphing
  9. 31:58Recap and future of Turbo
  10. 37:22Q&A and closing
~/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.