5 ms·
You deleted 500 lines of JS and added 44KB of (minified) HTMX. Better use HTMZ, which is only 166 bytes (sic!) and provides most of the interactivity: https://l
by niutech 2y ago
You deleted 500 lines of JS and added 44KB of (minified) HTMX. Better use HTMZ, which is only 166 bytes (sic!) and provides most of the interactivity: https://leanrada.com/htmz/ https://leanrada.com/htmz/
- jordiburgos 2y agoThe problem is not the download size. The problem is the amount of code to maintain.
- niutech 2y agoIt's both. All the JS code has to be parsed and interpreted by web browser, which is affecting especially low end smartphones. Better use plain HTML and CSS whenever possible, see e.g. PHOOOS: https://github.com/niutech/phooos https://github.com/niutech/phooos (demo: https://kodus.pl https://kodus.pl)
- selcuka 2y agoI don't think the author of the original comment would really care about the download size, given that it was an "internal self serve web app". htmz looks very cool, though.