News for hackers. Stuff that matters.
Re:HTMX is hard, so let's get it right by devnull3 on Monday August 04, 2025 @07:11AM (#44784237)
In DS, with SSE you can paint different parts of the page with ease. So in this case, it can update <form> and <label> separately. So instead of one update the backend fires 2. There is not separate marker or indicator for OOB.

I think it is best seen in examples on DS website.

Re:HTMX is hard, so let's get it right by meander_water on Monday August 04, 2025 @10:50AM (#44786620)
Neat, I'll give DS a go.

HTMX also has the option of using SSE with an extension [0]. I've used this to update the notifications tray for example. You could probably do it for OPs example too.

[0] https://htmx.org/extensions/sse/