Why Htmx is far superior to React and NextJS
henriqueleite42.com
henriqueleite42.com
- "It's extremely complex for someone with 0 experience to work with JavaScript tools"
- "JavaScript is terrible anything else than manipulating the DOM"
I guess the main issue was not liking / embracing JavaScript/TypeScript. Which is fine, but doesn't really make for a convincing article.
Another thing I would have loved to see was all the issues you ran into with htmx (apart from the ID collisions you expect to get). As we all know, everything is a tradeoff, there are no silver bullets.
Also,
"We lost the pro of not spending with servers, now we need a server to run our frontend"
Are there many people who would be running a React app with no backend at all? I suppose you could use it to display data just by fetching files, but I think it’s a less common use case.wouldn't the simplicity of generating html instead of invoking json more than make up for any data savings?
They lost me already. Is this supposed to be sarcasm? I'm hoping it is - the more I read, the more the entire article looks like they were trying to write satire... but then they end with a non-sarcastic conclusion.
I'm really unclear if this whole thing is satire or if they really just hate JS so much that they are over-exaggerating the most complex ways to engage with its ecosystem.
I would love to hear this authors take on if they would choose HTMX for a web app that is constrained to be highly-interactive, with multiple contributors/teams, and a dynamic user interface that requires heaps of internal state.
I would assume the counter-argument would be, "something like that should not be on the web!", but unfortunately we are in a world where that is what customers expect for certain classes of application.