Live data from Hacker News

Why Gumroad Didn't Choose Htmx

htmx.org

51–60 of 216 posts

Re: Why Gumroad Didn't Choose Htmx

#51

This is a wonderful advertisement for the things that HTMX is good for and the thing it isn't. It's obviously tongue-and-cheek but I think it makes the case well!

:) this isn't tongue-in-cheek it was a real experience

the htmx sucks essay was definitely tongue-in-cheek though (although many of the criticisms were legitimate, and even agree with this one, such as the lack of a component ecosystem!)

Re: Why Gumroad Didn't Choose Htmx

#52
post #16

I will start using htmx as soon as there is a 20K MRR startup built only with it.

My startup using htmx was there - and it was acquired successfully. They migrated pretty quick to react after the acquisition due to team dynamics (offshore big teams - seeped into JS heavy client, thin server culture). htmx was a struggle there as well. It worked amazing for us as a small team where everyone was full stack and I always build using htmx-first now. But, it is a struggle for folks who have been working…

Kinda wild that there is an entire generation of web devs for whom server side rendering is actually the new, strange thing.

Re: Why Gumroad Didn't Choose Htmx

#53

I use Htmx to add little functionality to static pages and it works great. I used it recently to build a small crud admin page and I soon reached the limits of the technology; in the ends I rewrote it in solid.js - because next.js / react are pretty slow and employ the wrong abstractions. I think htmx for static + solid.js for interactive is a great combination - albeit I dream of a framework which will excel at both…

https://data-star.dev combines ideas of htmx & solid (signals) and might be of interest to you

Re: Why Gumroad Didn't Choose Htmx

#54

Earlier quoted context omitted.

What makes you think it was tongue-in-cheek? It sounds quite genuine to me?

Perhaps because of pages like this one: https://htmx.org/essays/htmx-sucks/ (note the URL)

Different authors and very different tones, but yeah, that essay was tongue-in-cheek, so I guess I could see why you might think that at first. I thought it might be, when I saw the title, but then I read it and realized quickly it was sincere.

Re: Why Gumroad Didn't Choose Htmx

#55
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, suggests very dated ways of doing things that no longer apply or even work!

react/next has so much volume of data that the AI must be cracked on it fr.

Re: Why Gumroad Didn't Choose Htmx

#57

> 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…

htmx vs. javascript reminds me behave (BDD) vs pytest tests: Gherkin language looks nice in simple cases, and it can be in principle extended for more complex cases, but pure python (pytest) becomes the more convenient the more complicated tests become (when it is necessary to manage several levels of abstractions.

Re: Why Gumroad Didn't Choose Htmx

#58
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

It sounds to me like they shared a learning experience.

Re: Why Gumroad Didn't Choose Htmx

#59

Earlier quoted context omitted.

This will not be true for future frameworks, though it is likely true for current ones. Future frameworks will be designed for AI and enablement. There will be a reversal in convention-over-configuration. Explicit referencing and configuration allow models to make fewer assumptions with less training. All current models are trained on good and bad examples of existing frameworks. This is why asking an LLM to “code li…

I don't think convention over configuration causes LLMs any problems, GitHub copilot generates code matching rails conventions quite easily for example.

Because there’s enough rails code in the training data to determine the proper conventions :) if you’re making something new without this glut of data, it’s going to be much more difficult for a coding assistant to match a convention it’s never seem before.

Re: Why Gumroad Didn't Choose Htmx

#60
There is never a "one size fits all" and I get frustrated with people that say "SPA for every project" as much as those who say "SPA is always wrong". Picking the right tool for the right job is incredibly important and, as this post mentions, finding something that will scale with your project is important.
Post reply on HN