Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
8n4vidtmkvmk
on April 12, 2023
|
parent
|
context
|
favorite
| on:
PrimateJS: Svelte and Htmx Quick Start
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
on April 12, 2023
[–]
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.
8n4vidtmkvmk
on April 13, 2023
|
parent
[–]
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: