~/talk

HTML-Aware ERB: The Path to Reactive Rendering

Talkat Balkan Ruby 2026 · 2026-05-15..05-16· [ruby-on-rails, web-platform]
slides:none on file

Herb ships an HTML-aware ERB parser and engine (Herb v0.10) plus a language server and a local Herb dev server with WebSocket hot-reload and a syntax-tree diff engine that computes minimal edits. It parses render graphs, resolves partials and locals, builds a reverse dependency index for fine-grained DOM updates, and injects outline and jump-to-source dev tools. Early compile-time optimizations show up to 150x speed on static snippets and 3–20x on real pages; GitHub adopts Herb for 10,000+ view files. Production reactive runtime is not finished yet.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:36HTML-aware ERB and Herb project
  3. 8:03ERB engines and eRubi limitations
  4. 10:40Herb engine and HTML awareness
  5. 13:43Improved error messages and dev tools
  6. 15:34Reactivity and future ambitions
  7. 17:51Inspiration from other frameworks
  8. 19:23Understanding templates and state
  9. 21:37State dependencies and ERB contracts
  10. 23:26Locals, helpers and unresolved references
  11. 25:12ActionView tag helpers and parsing
  12. 27:06Tracking DOM node references
  13. 28:23Path to reactivity and ReActionView
  14. 29:04Dev time reactivity and hot reloading
  15. 32:16Performance optimizations
  16. 34:21Conclusion and Herb's impact
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.