Y
Hacker News
new
|
ask
|
show
|
jobs
by
john2x
1160 days ago
I'm hoping a future version will allow using hidden markup that's already in the DOM rather than fetching from the server.
1 comments
Dauros
1160 days ago
It's already supported with the client-side-templates extension [1]. HTMX can fetch JSON from the backend then calls e.g. nunjucks.render() with the data.
[1]:
https://htmx.org/extensions/client-side-templates/
link
dalmo3
1160 days ago
On a sufficiently long timeline we'll see full SPA frameworks on top of htmx ;)
link
[1]: https://htmx.org/extensions/client-side-templates/