3 ms·
For the first one, I think it's linked to the next point of "No Build Tools". Using `var` instead of `let` and `const` `let`s them support (very) old browsers w
by twiss 2y ago
For the first one, I think it's linked to the next point of "No Build Tools". Using `var` instead of `let` and `const` `let`s them support (very) old browsers without a build step (which in turn leads to other benefits: https://htmx.org/essays/no-build-step/ https://htmx.org/essays/no-build-step/).
- threatofrain 2y agoMaybe I'm silly but I don't understand why you wouldn't do web interactivity with old machines by going the old-fashioned way, which if optimized can feel wonderfully fast (just not as fast as an SPA that anticipates data loads, giving the user the illusion of instant) and will be more lightweight, easier to understand, will take advantage of all the old traditional tech ecosystem, etc. If we're talking about people who haven't upgraded their browsers in a very long time... chances are that light vanilla websites offer the best experience.
- twiss 2y agoI expect the author would mostly agree with you, but see the "motivation" header under https://htmx.org/ https://htmx.org/