Hacker News Viewer

htmx: Server Sent Event (SSE) Extension

by tosh on 1/31/2026, 10:30:59 AM

https://htmx.org/extensions/sse/

Comments

by: wild_egg

FWIW, this will be part of the core library in the next version instead of a separate extension.<p><a href="https:&#x2F;&#x2F;four.htmx.org&#x2F;htmx-4&#x2F;#built-in-streaming-response-support" rel="nofollow">https:&#x2F;&#x2F;four.htmx.org&#x2F;htmx-4&#x2F;#built-in-streaming-response-su...</a>

1/31/2026, 12:26:22 PM


by: nasretdinov

As a backend engineer I really like where all of this is going. In many many cases you do not need anything beyond what HTMX provides, and it makes the build and testing process so much simpler, and faster too

1/31/2026, 10:43:12 AM


by: gf000

I have given a try to data-star that is pretty similar to htmx, and it already had SSE support. (But I think it is a bit more complete solution to the problem - giving lightweight primitives for client-side interactivity)<p>I think it&#x27;s (referring to both) a pretty nice framework, though it does require a bit of mental &quot;undoing&quot; if you have worked a lot with SPAs.

1/31/2026, 11:05:27 AM