5 ms·
HTMX is certainly easier, but it's the worse if you want to actually learn FE
by audessuscest 2y ago
HTMX is certainly easier, but it's the worse if you want to actually learn FE
- digdugdirk 2y agoAs someone who isn't a web developer, what do you mean by that?
- audessuscest 2y agoHTMX abstracts functionality into pseudo-HTML attributes, allowing you to handle tasks like event binding and DOM/content manipulation that would typically require JavaScript. By using HTMX, you primarily focus on learning HTML and its attributes, with minimal need to learn JavaScript.
- baq 2y agoNot sure how to interpret what you're saying. HTMX allows you to learn the very basics: the HTML which is almost verbatim turned into DOM which the browser renders. It's the FE. Everything else is layers upon layers of abstraction which ultimately compile down to the DOM representation of HTML. ...or to put it differently, quoting HTMX's author: using HTTP to transfer HTML? How queer!
- audessuscest 2y agoSounds like you don't know anything about FE except htmx...
- szundi 2y agoHe has a point though
- akdor1154 2y agoStrong disagree, it would be a great way to learn vanilla html/CSS/js without kneecapping yourself.
- audessuscest 2y agoHow do you learn JS by using htmx exactly ?
- yawaramin 2y agoBecause htmx is limited in scope. And it's encouraged to use JS for the parts of your app that would benefit from it. But it's encouraged to do so in a way that fits with web standards. Eg https://dev.to/yawaramin/handling-form-errors-in-htmx-3ncg https://dev.to/yawaramin/handling-form-errors-in-htmx-3ncg
- runako 2y agoCouldn't one say the same thing about using any framework that provides capabilities that otherwise would have to be learned?