Re:Htmx 2.0.0 has been released
by niutech on Tuesday June 18, 2024 @10:41AM
(#40718386)
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/
[ Parent
| on HN ]
Re:Htmx 2.0.0 has been released
by jordiburgos on Tuesday June 18, 2024 @12:00PM
(#40719343)
The problem is not the download size. The problem is the amount of code to maintain.
It'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 (demo: https://kodus.pl)