5 ms·
15.2k min/gz'd, 17ms over old 4g and cached forever: https://bundlephobia.com/package/htmx.org@1.9.11 https://bundlephobia.com/package/htmx.org@1.9.11
by recursivedoubts 3y ago
15.2k min/gz'd, 17ms over old 4g and cached forever:
https://bundlephobia.com/package/htmx.org@1.9.11 https://bundlephobia.com/package/htmx.org@1.9.11
- niutech 3y agoTransfer size is one thing, but the JS code has to be parsed and executed on every web page load. Moreover, it is often loaded as a blocking <script> in <head>. My point is CSS and no JS is better than JS.
- recursivedoubts 3y agohtmx loads in partials and processes them, you don't pay the price of loading it over and over again
- niutech 3y agoIf you don't use JS at all, you don't pay the price too and it's faster since there is no JS to parse and execute - see e.g. https://github.com/niutech/phooos https://github.com/niutech/phooos