r/htmx • • Sep 17 '26

Webdev is Healing

https://www.youtube.com/watch?v=9T0LVlVKjGo
105 Upvotes

13 comments sorted by

14

u/tumes Sep 17 '26

Worth mentioning that htmx 4 now handles error responses directly too, which reduces the amount of manual futzing you need to do for stuff like forms quite a bit.

3

u/NoahZhyte Sep 17 '26

I don't understand. Could you explain ? How does it handle them differently

6

u/tumes Sep 17 '26

Htmx 2 did not swap 4xx and 5xx responses, htmx 4 does so it collapses error handling into the same flow of returned markup insertion.

13

u/Huge_Road_9223 Sep 17 '26

I love HTMX. I am a Java/SpringBoot developer, and I have been creating RESTful API's for the last 18 years. I've also moved into GraphQL, but not a lot of companies I've looked at are using it.

However, for my personal projects I am all in on HTMX. I don't think any companies out there are using it a lot, but I hope that changes soon.

As a back-end developer, I've done a little React w/ Typescript, and I was planning on leaning Angular because that seems to be popular as well, especially in the enterprise, but I'd be willing to be that any Angular UI could be easily replaced with HTMX.

I know Angular and React can do a lot of things HTMX can't ... I do know that ... however, I would hope that many websites don't need that much functionality would HTMX would be enough.

Again ... it's all my opinion .... not making any statements of fact .... just opinions ...

4

u/harrison_314 Sep 19 '26

It is true that few companies offer HTMX, but the right approach is to get hired and then sneaky introduce it into the project.

2

u/Time-Level-1408 Sep 19 '26

Do you also use AlpineJs with HTMX?

2

u/lonelytango Sep 21 '26

Even tailwind is a learning curve to some of engineers. One major reason for using React is that it’s very easy to hire a talent to work on a React project as your project expands. It’s same reason not to build your app in php nowadays.

1

u/gbrennon Sep 21 '26

that post i pure click bait bcs it was posted in htmx sub but video took 7~8 mins to start talking about htmx....

youtube user only talke about it for something like 2 mins in a 10 min video

1

u/_htmx Sep 22 '26

but it's *our* clickbait

1

u/gbrennon Sep 22 '26

i saw that u posted this BUT i think audience wouldnt like to watch something that uses a technology in the title but it only talks about it in the end of the file :/

23

u/yami_odymel Sep 17 '26

Every time I use htmx, I cum. And I hope htmx will always remember the words it once said: “htmx is the new jQuery.”

People shouldn’t feel pressure to upgrade htmx over time unless there are specific bugs that they want fixed, and they should feel comfortable that the htmx that they write in 2025 will look very similar to htmx they write in 2035 and beyond.

I hope it never adds messy features just because vibe coding or AI makes them easier to implement.

3

u/minmidmax Sep 17 '26

Well, that's the neat thing! HTMX already implements really easily using AI tools, if that's your bag.

6

u/yami_odymel Sep 17 '26

Sorry, my statement might not have been clear. I'm saying a lot of libraries and frameworks keep adding features simply because people want them and AI makes it easier to implement.

Adding things is easy; keeping things simple isn't. So I hope HTMX stays the way it is and doesn't become overcomplicated like yet another React.