4 ms·
so then you send HTML to the client, but then you still have to 'hydrate' it to make it interactive. and now you've reinvented React SSR.
by 8n4vidtmkvmk 4y ago
so then you send HTML to the client, but then you still have to 'hydrate' it to make it interactive. and now you've reinvented React SSR.
- jonomacd 4y agoYou don't have to hydrate the html as events get triggered from "hx-" attributes on the elements as rendered server side. htmx takes care of it for you.
- 8n4vidtmkvmk 4y agoSo where are the event listeners then? On the body tag, and they bubble up and then examine the hx attribute? Is that how it works?