Live data from Hacker News

Htmx 2.0.0 has been released

htmx.org

51–60 of 146 posts

Re: Htmx 2.0.0 has been released

#52

Earlier quoted context omitted.

Looks like it moved to here https://extensions.htmx.org/ But this is weirdly hard to find on the new site as searching just opens a scoped google search. Probably would be good to setup redirects to the new extensions site.

yes, need to improve that aspect of the docs, sorry!

no need to apologize :)

big congrats on the launch!

Re: Htmx 2.0.0 has been released

#53

hey folks, i'm the creator of htmx this isn't much of a feature upgrade, but we took the opportunity to clean up a few things and drop IE support, which will help us slim down the library over time hopefully it's an easy upgrade for most htmx users, upgrade guide is here: https://htmx.org/migration-guide-htmx-1/ happy to answer any questions

Do the docs https://htmx.org/docs/ reflect 2.0 or 1.x?

Re: Htmx 2.0.0 has been released

#54
Htmx users, can you please share your backend stacks and approaches? Me specifically interested in templaters for node (+ts) and your thoughts on endpoint management, but all ideas are welcome I guess.

Re: Htmx 2.0.0 has been released

#55

hey folks, i'm the creator of htmx this isn't much of a feature upgrade, but we took the opportunity to clean up a few things and drop IE support, which will help us slim down the library over time hopefully it's an easy upgrade for most htmx users, upgrade guide is here: https://htmx.org/migration-guide-htmx-1/ happy to answer any questions

Do the docs https://htmx.org/docs/ reflect 2.0 or 1.x?

2.x

Re: Htmx 2.0.0 has been released

#56
One of the happiest days of coding in the last 10 years for me happened in September last year when I added htmx to an internal self serve web app I develop for our company. With the addition of maybe 5 htmx attributes I was able to delete about 500 lines of client side JS.

The app is now chock full of htmx interactions and has very little client side JS for the size of the app and it’s a joy to work on.

Without htmx I would not be able to turn around features as quickly as I do for the wider team so thank you, thank you, thank you.

I’ve been in web dev for 20 years and this feels like what we should have made all along.

The one area I would like to see some development is the file upload experience, I’ve had to do something a bit weird to get htmx and dropzone playing nice.

Re: Htmx 2.0.0 has been released

#57
post #28
post #16

HTMX is like a glimpse into the road not taken, where HTML is the main language of the web instead of JS. Sometimes the grass really is greener on the other side, and I hope as an industry we make the switch.

My cynical take: this is by design. Those web committees are staffed by companies that each have their non-web platform they're pushing (or were, until it died, see Microsoft), so even the most well meaning members are somehow contorted into compromises that make the web as a platform a bad technical choice in terms of actual design, but the best one in terms of flexibility and of course ubiquity. It's completely stu…

Don’t attribute to malice… Many people working on frontend came from application or backend development and preferred the JavaScript model to a more declarative one. Not understanding enough the document context that drives the web. This makes everything more fragile and slow but hey “functionality” wins over everything else in todays world.

Re: Htmx 2.0.0 has been released

#59
Has anyone here used htmx for embedded devices? That is to provide web UI served by the device, for configuration / data access / control? Can you share the experience and if you would use it again?

Re: Htmx 2.0.0 has been released

#60
post #54

Htmx users, can you please share your backend stacks and approaches? Me specifically interested in templaters for node (+ts) and your thoughts on endpoint management, but all ideas are welcome I guess.

I'll be trying things out with FastAPI and Jinja templating
Post reply on HN