pull down to refresh

I love websites-as-rants
Hey, dipshit! You know what loads faster than your bloated, overengineered mess? Plain, unadulterated HTML. And you know what doesn't break every motherfucking Tuesday? HTML that just fucking works. Why the fuck are you overcomplicating things, you masochistic fuck? You're out here acting like you're building the next goddamn moon landing when all you need is a button and some text.
Newsflash, asshole: the web was doing just fine before your bloated frameworks crawled out of the sewer. You're out here dropping ten grand on some fancy-ass framework like it's a Gucci purse, just to haul around the same shitty groceries you could've carried in a plastic bag from 1995. Why the hell are you jumping through all these hoops when HTML's been sitting there, ready to go, since the dawn of the goddamn internet?
50 sats \ 0 replies \ @nichro 1h
Reminds me of the motherfucking website
"Good design is as little design as possible." - some German motherfucker
reply
54 sats \ 8 replies \ @ek 6h
I didn't even read it yet but I already know I'm going to love it
I built zapback with HTMX and I didn't regret it
reply
100 sats \ 7 replies \ @rblb 5h
htmlx is a javascript framework
reply
It's an "un-framework", in that beautiful middle spot between HTML and convoluted shit like Next... the DX is completely different
reply
17 sats \ 4 replies \ @ek 5h
So? The point is that I didn't have to write a ton of Javascript that renders HTML myself, HTMX is only adding attributes to HTML, and it's not a "bloated, overengineered mess."
Working with HTMX is completely different from other JavaScript frameworks, so saying HTMX is a Javascript framework isn't appropriate imo.
reply
50 sats \ 1 reply \ @rblb 4h
No, it is not adding attributes... all custom tags and attributes are valid in html, they just do nothing by default... HTMX is calling a ton of querySelectorAll to select its own custom tag and then run javascript on them.
This is very inefficient and bloated, you can just write html and use plain javascript querySelector for the elements you need, this is what htmx does, it just does it for a lot of stuff you don't need.
reply
0 sats \ 0 replies \ @ek 29s
Please explain how the inefficiencies and bloat you see in HTMX actually matter. Do they slow down the site or make HTMX more complicated to use?
But to entertain your argument: it's 1,708 lines of code in a single file 1 and if there's something you don't need, you could even just remove that code yourself. Try doing that with a common JS framework like React, Vue, or Angular.

Footnotes

  1. how much "bloat" can there be in less than 2k lines?
reply
10 sats \ 1 reply \ @itsrealfake 1h
somebody should share this convincing the HTMX Twitter account... in sure it would be very appreciated
reply
0 sats \ 0 replies \ @ek 13m
I don't understand. Convincing the HTMX twitter account of what?
reply
21 sats \ 0 replies \ @k00b OP 5h
Someone once told me, so proud of their cypherpunkness, they weren't using javascript on their website because they made it with htmx.
I've never looked closely at htmx, but I knew they weren't just making use of hidden html attributes or something.
reply
20 sats \ 0 replies \ @jasonb 1h
I love websites-as-rants
As an aspiring WAR service provider, I certainly feel supported by you.
reply
60 sats \ 0 replies \ @rblb 4h
Once people used to say that structure should be html, graphics css and computation js.
Now js frameworks think they should just do everything. I am convinced jquery's fadeIn started the domino that bought us here 🗿.
reply
50 sats \ 0 replies \ @plebpoet 5h
oh nice, I was just telling @ek the other day that I'm embarrassed about writing my website in html, but now I feel justified. Not that I have much of a choice, I learned html in 8th grade, and it's all that my toolbox contains.
reply
I guess this wasn’t made with love, hosted on GitHub lol
reply
10 sats \ 1 reply \ @SwapMarket 6h
HTML is server rendered. It does load fast, but is not responsive without some javascript woodo. Frameworks are there to not invent a bicycle.
reply
HTML is rendered in browser
reply
15 sats \ 0 replies \ @siggy47 7h
I love calling someone an asshat. I don't know what it means, but I love it.
reply
10 sats \ 0 replies \ @kepford 7h
Me too
reply