Re:HTMx
by loveparade on Friday May 26, 2023 @12:47AM
(#36080060)
htmx is another tool just like that, another goalpost in the frontend webdev world. It's just happens that the most recent hype is "don't write JS", but fundamnetally it's no different. Just another framework/library that has gotten some traction. In a few years we'll be back full cycle and it will be in vogue to write JS again, probably because htmx and associated projects have grown to complex.
[ Parent
| on HN ]
A key difference is the promise to be working even without JavaScript.
"Htmx is a dependency-free, browser-oriented javascript library."
The framework itself is written in Javascript
The end user is NOT writing Javascript.
Re:HTMx
by loveparade on Friday May 26, 2023 @02:19AM
(#36080695)
It's no different from anything else. The promise if every framework is to abstract away some low-level details. Whether that means writing "higher-level JS" like jQuery did many years ago already, and hundreds of other frameworks do today, or inventing some new DSL like htmx does that translated to JS internally. No difference.