4 ms·
I'm a big fan of returning html instead of json when possible and I've been htmx curious for a bit. With all the examples people keep using, I assumed it would
by athrowaway3z 10mo ago
I'm a big fan of returning html instead of json when possible and I've been htmx curious for a bit.
With all the examples people keep using, I assumed it would be way smaller. 16kb minified is a lot.
Looking at the docs just now the core api seems reasonable, but it a lot larger than I'd assumed.
- naasking 10mo agoLook into DataStar and Alpine Ajax then, they're much smaller and more targeted.
- recursivedoubts 10mo agoour minimalist version of htmx is fixi.js: https://github.com/bigskysoftware/fixi https://github.com/bigskysoftware/fixi 1181kb brotli'd (no minification)
- yawaramin 10mo agoI think you mean 1181b, not kb
- recursivedoubts 10mo agowhooops
- yawaramin 10mo agoIt's much smaller than the final bundle size that most sites will end up loading.
- adamzwasserman 10mo agoRead DATAOS.software for an in depth analysis of bundle sizes and impact on performance.
- moebrowne 10mo ago> 16kb minified is a lot I'd bet that almost any site which isn't intentionally bare bones will have a lot more than 16KB of JS.
- nymanjon 10mo agoThere's also htmz-be, nomini.js. Depending on your complexity needs.