The author describes reworking Glimmer and Glimmer-Datastar libraries to support batched server-side rendering, reducing redundant HTML transmissions. When a ratom changes, instead of waking every subscribed stream individually, changes are collected and rendered once per batch, avoiding duplicate data sends across multiple pages.
Background
Glimmer is a Reagent-style reactive UI library for Clojure, and Datastar is a frontend library for reactive server-side rendering via Server-Sent Events. This post builds on recent work by Anders Murphy on batching streaming HTML responses.
- Source
- Lobsters
- Published
- Nov 11, 2026 at 06:54 AM
- Score
- 6.0 / 10