News for hackers. Stuff that matters.
Re:The Future of Htmx by hu3 on Tuesday January 07, 2025 @05:35AM (#42621172)
Congrats you're reinventing jQuery. With a worse and more limited API.

Plus jQuery is one of the most battle tested libraries in the world.

That "ops" you made with classlist, you're bound to repeat these mistakes ad infinitum. And they can bite in subtle ways only your users might experience.

People rarely report broken websites unless they really need to.

Re:The Future of Htmx by Bengalilol on Wednesday January 08, 2025 @03:22AM (#42632189)
I am truly interested in your arguments on why using chainable DOM Elements leads to less buggy websites.
Re:The Future of Htmx by hu3 on Wednesday January 08, 2025 @08:20AM (#42633900)
You're the only one making that claim.

Plus using a homemade alpha version of jQuery written by one dev leads to more bugs, not less.

Re:The Future of Htmx by Bengalilol on Wednesday January 08, 2025 @08:37AM (#42634059)
> That "ops" you made with classlist, you're bound to repeat these mistakes ad infinitum. And they can bite in subtle ways only your users might experience. People rarely report broken websites unless they really need to.

I think those two sentences are out of bounds, but I somehow get you. Yet I don't get the 'broken website' remark (took it condescending, or is it from experience?).

Mainly, I was replying to the affirmation that javascript is not chainable which is (imho) an indication of how one could get disconnected to the underlying lang by simply relying on libs such as jQuery (and I am thinking the same about htmx). Thanks for your reply!