4 ms·
Where are you getting those numbers from? The minified code is about 40kB before compression and about 13kB with gzip. https://bundlephobia.com/package/htmx.or
by moebrowne 1mo ago
Where are you getting those numbers from? The minified code is about 40kB before compression and about 13kB with gzip.
https://bundlephobia.com/package/htmx.org@4.0.0 https://bundlephobia.com/package/htmx.org@4.0.0
- Xeoncross 1mo ago103KB is the actual source code. You should not be reading or debugging the minimized or gzip/transport bytes.
- yawaramin 1mo agoYeah but when you're reading the actual source code you're not thinking in terms of bytes, you're looking and files and line counts. Htmx is deliberately maintained as a single, no-dependency file of about 5000loc. The maintainers are of the opinion that it reduces complexity, and I tend to agree.