Hacker News .hnnew | 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 ;)




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: