Earlier quoted context omitted.
Does this release have head-support built in or still requires an extension? I thought 2.0 was going to release with head support...
we went back and forth on it but ultimately concluded that it bloated the core too much so we kept it as an extension
Htmx 2.0.0 has been released
61–70 of 146 posts
Re: Htmx 2.0.0 has been released
#62Earlier quoted context omitted.
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.
Look at Windows, MacOS, iOS, Android, Gtk, Qt.
Which of those doesn't have these widgets?
I'm tired of defending mega corps with thousands of employees with IQs through the roof, working on this for decades. It has to be latent malice. Banality of evil, if you will.
Re: Htmx 2.0.0 has been released
#63@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
Re: Htmx 2.0.0 has been released
#64Re: Htmx 2.0.0 has been released
#65It 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.
Re: Htmx 2.0.0 has been released
#66Htmx 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’m interested in trying EdgeJS as a templating alternative to HB but haven’t got round to it yet.
I’ve added a NestJS error handler that looks to see if the request came from an htmx request and then serve the error response as html, if not then it sends back json since I do have json api end points as well in the back end.
Re: Htmx 2.0.0 has been released
#67Earlier quoted context omitted.
we went back and forth on it but ultimately concluded that it bloated the core too much so we kept it as an extension
As long as hx-boost is in core, it would make more sense to have head support in core? It's difficult to really leverage hx-boost without being able to manage the head in responses.
could still fold it in at some point in the 2.x line!
Re: Htmx 2.0.0 has been released
#68hey 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
Re: Htmx 2.0.0 has been released
#69One 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…
Re: Htmx 2.0.0 has been released
#70Htmx 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.