Live data from Hacker News

Why Gumroad Didn't Choose Htmx

htmx.org

61–70 of 216 posts

Re: Why Gumroad Didn't Choose Htmx

#61

I literally only ever hear about htmx from YC. I still don't know what the point of it is, it seems like one of those opinionated programmer things like "I don't use a framework" or "you don't need javascript to make my site work"

it's kind of the elm for javascript. vocal enthusiastic fans but no real usage beyond that miniscule enclave.

Re: Why Gumroad Didn't Choose Htmx

#62
> "HTMX is a different syntax for inline JS."

I'm not a web developer [1], and I get that htmx uses JavaScript behind the scenes, but this quote seems like someone was missing the point. htmx encourages a different approach to architecting and building an app. Or am I the one who's not understanding?

The comment about hiring and AI-support being better with React is imo just another depressing reminder of how much of a monoculture we have at the front-end - and imo a bloated and over-complex one at that.

[1] I have read the htmx book though

Re: Why Gumroad Didn't Choose Htmx

#63
post #20

> AI and Tooling Support: It’s worth noting that AI tools are intimately familiar with Next.js and not so much with htmx This is stated as a very matter-of-fact downside, but this is a pretty crazy portent for the future of dev tools / libraries / frameworks / languages. Predictions: - LLMs will further amplify the existing winner-take-all, first-mover nature of dev tools - LLMs will encourage usage of open-source to…

I'm not too worried about this, and I think Gumroad's concern is likely overblown. I can't tell from their comment whether they actually experienced AI being bad at HTMX, or if they transitioned to talking about other resources.

LLMs are often wildly good at being universal translators. So if they pick up general patterns and concepts in popular frameworks, and enough syntax of more niche frameworks, IME, they do a pretty great job of generating good niche framework code.

Similar to how they can talk like a pirate about things things pirates never said in their training data.

Re: Why Gumroad Didn't Choose Htmx

#64
post #46

> I thought htmx could be a good solution to keep our front-end super light. It seems htmx stopped working as soon as you gave up on the super light frontend part :) You started using third party libraries to render complex UI/UX and state management. Also, I’d like to point out that saying “it was easier to do X in React” is not really fair if you did that using third-party libraries. It’s just that somebody did it…

Exactly. I’m a big htmx fan, but I think this post displays some serious lack of technical awareness from the author. More like they wanted to try out HTMX based on vibes as opposed to its actual strengths and weaknesses which would be apparent to anyone with even a cursory knowledge of the web platform and the docs on htmx.org

[dead]

Re: Why Gumroad Didn't Choose Htmx

#65
post #48

My comment from the other thread: The CEO of gumroad mentioned on twitter that he had tried out htmx for a project but decided to go with NextJS instead. I asked him if he was willing to write up his experience and he graciously agreed to do so. I have been looking for a thoughtful negative experience with htmx to host on the htmx website and I am very thankful he was willing to put in the work to produce one.

Is it just me or the article smells like AI-generated?

You can see the evolution of the article in the PR on GitHub. Seems genuine.

Re: Why Gumroad Didn't Choose Htmx

#66
His 3rd point scares me.

Imagine a world where companies pay to have their framework’s be over represented in a models training set and selling contracts off the back of that.

Like SEO but baked into developer tooling.

Re: Why Gumroad Didn't Choose Htmx

#67

I completely agree with the author that AI has problems with more niche language/frameworks. when I prompt for rails stuff, things work right out of the box, and it makes great suggestions. (although this may no longer be the case for rails 8 - solidqueue/cache/etc are out that are totally new!) when I prompt for elixir/phoenix stuff, I usually have to paste in documentation or it hallucinates features or worse, sugg…

Which AI are you using for Elixir/Phoenix? I find that ChatGPT is as you describe for Elixir, but Claude writes Elixir very well.

Re: Why Gumroad Didn't Choose Htmx

#68
post #9

Comparing it with React is a low bar, since a lot of people are unhappy with React. Arguments like "React is popular, AI knows it", or "React is popular, lots of component have been written in it" seem weak. A proper antithesis for htmlx should compares it with SPA.

And a lot of people are happy with react. Not sure what your point is. I mean of course people using a more niche framework will usually be more happy about it, because early adopters usually choose to use the technology.

Like, it's rare to come across htmx (or svelte, or solid) in a corporate job for now, which means that almost all of their users like said frameworks enough to use and talk about them in their free time

For react that's just not the case, because it's everywhere. If I was forced to use Vue, I wouldn't like it. But I'm not so I don't use it enough to criticize it a lot.

If anything I've seen more people dislike angular or vue when they had to work in a project that used those frameworks, and didn't have a say in that choice. But that's also just an anecdote obviously

Re: Why Gumroad Didn't Choose Htmx

#69
I don't know man, I personally wouldn't use htmx nor tailwind, but the arguments against them as mentioned in the article felt too superficial. A note to the author, please don't post screenshots that have 78.9% whitespace on them. (especially when you have a the word UX in a close-by paragraph)

Re: Why Gumroad Didn't Choose Htmx

#70

Gumroad dude seems to have some shaky reasoning for migrating at all, sounds to me a migration just for the sake of it. https://news.ycombinator.com/item?id=41669615

I mean, he clarified his reasoning and it made sense. Why do you think that moving away from RoR involves shaky reasoning here?
Post reply on HN