by simonbarker87 on 6/17/24, 8:40 PM
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.
by recursivedoubts on 6/17/24, 7:14 PM
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
by Devasta on 6/17/24, 7:44 PM
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.
by kyrra on 6/17/24, 7:47 PM
by recursivedoubts on 6/17/24, 8:15 PM
@dang, i know there is an htmx filter on HN due to so many posts, but it'd be nice if this one could go to the top, it's a major release
by wruza on 6/17/24, 8:37 PM
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.
by RobotCoder on 6/30/24, 12:11 AM
My hot take: We initially used this library to allow us to iterate faster. But its is a pain once you reach a certain point, where it doesn't make sense to have this type of logic in HTML. I especially don't like how this library does error handling. I feel like this is the new jQuery. There is better way to represent interaction logic with open JS standards like Web Components.
by jph00 on 6/17/24, 7:27 PM
I just want to take advantage of this news to say: I love HTMX so much! :D It makes web development fun again. I can still use all the fancy js libs I want -- but my main logic lives on the server, using plain HTTP and HTML. Really clear and simple.
by jerrygenser on 6/17/24, 7:20 PM
Love the upgrade music. Wish more libraries would add upgrade music with major releases
by jononor on 6/17/24, 9:13 PM
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?
by ctxcode on 6/17/24, 8:26 PM
i havent used htmx yet, but it sounds like a breath of fresh air. no npm library with 1000 dependencies with slow build times. just plain simple js library like the good old days ^_^
by mikemitchelldev on 6/17/24, 9:11 PM
React's had such dominance for the last 10 years. I'm glad there's an alternative.
by fghfgh65h5 on 6/17/24, 8:09 PM
HTMX + static site generators is DOPE. If we had just these two things back in the 90's...
by bradgessler on 6/18/24, 3:07 AM
Anybody know if there’s something like HTMX that plugs into Turbo? Every time I start using a stimulus controller, I have the thought that it should be more like HTMX instead.
by gedw99 on 6/19/24, 10:59 AM
by xakpc on 6/17/24, 10:18 PM
as htmx CEO I approve this message
by digitalsin on 6/17/24, 9:25 PM
It has already been pirated by various groups and made available for download assuming you have the bandwidth. Unbelievable. Big Sky has to make money somewhere.
by xakpc on 6/17/24, 10:19 PM
htmx works great with dotnet btw (wrote a series on that)
by Ayesh on 6/18/24, 2:01 AM
I knew about Htmx and that HN loves it. But this post is what I actually got to take a good look, and oh my god it felt like such a fresh breath!
We have a few jQuery-era websites (that still work today because why not), and Htmx could be where we trim hundreds of lines.