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

I'm hoping a future version will allow using hidden markup that's already in the DOM rather than fetching from the server.


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/


On a sufficiently long timeline we'll see full SPA frameworks on top of htmx ;)




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

Search: