News for hackers. Stuff that matters.
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.
Re:HTMx by mkesper on Friday May 26, 2023 @12:59AM (#36080149)
A key difference is the promise to be working even without JavaScript.
Re:HTMx by vnorilo on Friday May 26, 2023 @01:19AM (#36080274)
"Htmx is a dependency-free, browser-oriented javascript library."

https://htmx.org/docs/#installing

Re:HTMx by kkapelon on Friday May 26, 2023 @01:43AM (#36080441)
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.