News for hackers. Stuff that matters.
Re:Htmx is part of the GitHub Accelerator by throw1234651234 on Wednesday August 16, 2023 @01:17PM (#37150274)
This will just die like Web Components and RxJS after a few people write blog posts and do conference talks on it for hype, right?

Does this work with Web Assembly? Of course Web Assembly will die too since it can't do SEO.

In all seriousness though, what is the "core" reason to actually adopt this over the current approach?

Re:Htmx is part of the GitHub Accelerator by recursivedoubts on Wednesday August 16, 2023 @02:13PM (#37151257)
if you sincerely wish to understand how htmx is different than the current SPA-talking-to-a-JSON-API approach I would start here:

https://htmx.org/essays/hypermedia-driven-applications/

and then work through the rest of the essays:

https://htmx.org/essays/

Re:Htmx is part of the GitHub Accelerator by throw1234651234 on Wednesday August 16, 2023 @03:30PM (#37152398)
Thank you, reading now - do genuinely want to know. I understand how my message came across, but I do intentionally reflect how many attempts there have been to change the paradigm so far.
Re:Htmx is part of the GitHub Accelerator by andy800 on Wednesday August 16, 2023 @04:40PM (#37153474)
Not a valid excuse, dude. You have every right to be skeptical or to avoid "bleeding edge" but to assume the whole thing is just a front to raise someone's speaking/blogging/social media profile, to buzz in from nowhere and start off by declaring that it's going to "die" is not the way to act if you "genuinely want to know."

Recursivedoubts has legitimately demonstrated he's not a one-trick pony (previously built intercooler, concurrently building hyperscript) and he deals with skeptics like yourself dozens of times every time an HTMX article gets posted on this site (which all seem to go to #1, if that serves as an indicator of the library's popularity). He handles himself with grace and patience and humor, far better than most of us would do.

You don't even state what your "current approach" happens to be in order for him, or anyone else, to provide you with a satisfactory answer.

Re:Htmx is part of the GitHub Accelerator by recursivedoubts on Wednesday August 16, 2023 @05:30PM (#37154133)
no problem, i try not to take things personally online: i've said plenty of things that either were mean or came across as mean in my life, especially when I was younger

i think one of the strengths of htmx is that it isn't really trying to change the paradigm to something brand new, it is instead going back to the original web paradigm of hypermedia and asking how HTML could have advanced within that paradigm, in contrast with the SPA paradigm that replaced it

so less of a wild bet, with more known advantages and disadvantages

Re:Htmx is part of the GitHub Accelerator by lelanthran on Thursday August 17, 2023 @11:10AM (#37162900)
> This will just die like Web Components

You mean "This just won't die"? Because it seems to me that Web Components are here to stay, especially since something like htmx boosts their functionality with absolutely minimal added cognitive load.

I feel that, pretty soon, the choices for a full-functioned web application that is easy to maintain with high development velocity is going to be:

1. Master HTMX and Web components in a day, and be productive

Or

2. Spend a month learning React, and still get hit by all the footguns.