Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


You 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.


So 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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: