←back to thread

Less Htmx Is More

(unplannedobsolescence.com)
169 points fanf2 | 2 comments | | HN request time: 0.423s | source
Show context
rpgbr ◴[] No.43619744[source]
> Like any new tool, especially a tool that got popular as quickly as htmx, there are differing schools of thought on how best to use it. My approach—which I believe necessary to achieve the results described above—requires you to internalize something that htmx certainly hints at, but doesn’t enforce: use plain HTML wherever possible.

That’s the path for ultimate long term functional web pages!

replies(3): >>43619973 #>>43621691 #>>43630466 #
1. mycall ◴[] No.43621691[source]
In the pursuit of ultimate long term functional web pages, how does that affect maintainability, e.g. changing requirements? In my mind, the less characters used the less effort it takes to change it, but this might be obsolete thinking wrt AI assisted (or fully written) sites.
replies(1): >>43623448 #
2. rpgbr ◴[] No.43623448[source]
I agree! As a journalist that codes his own site/blog, I've never took the time to learn anything more complex than good and old HTML and CSS to structure a page, and the short incursions I had in complex system (node, SCSS, frameworks), the returns for the kind of sites I developed was so little I couldn't be bothered to climb the learning curve.

HTML + CSS + sprinkles of vanilla JS is the perfect recipe for readable, fast, and high resilient web pages.