Live data from Hacker News

Htmx 2.0.0 has been released

htmx.org

31–40 of 146 posts

Re: Htmx 2.0.0 has been released

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

> It's completely stupid HTML, by default, doesn't have basic controls found in EVERY UI toolkit since circa 1980. The standard examples being ListView and TreeView.

This is one of my greatest frustrations with the web as a platform. These controls are so basic they should just be there, eliminating the need to sift through dozens of third-party implementations all with wildly varying feature sets, performance profiles, framework compatibility, levels of upkeep, etc to find one that works for your project.

Re: Htmx 2.0.0 has been released

#34

Earlier 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

https://htmx.org/extensions/head-support/ is returning 404.

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.

Re: Htmx 2.0.0 has been released

#35

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

Oddly specific. Why implementing "forEach" and "toArray" instead of using the functions from Array.prototype? [1] I can see `Array.from` used elsewhere on the code.

---

1: https://github.com/bigskysoftware/htmx/blob/master/src/htmx....

Re: Htmx 2.0.0 has been released

#36

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

Oddly specific. Why implementing "forEach" and "toArray" instead of using the functions from Array.prototype? [1] I can see `Array.from` used elsewhere on the code. --- 1: https://github.com/bigskysoftware/htmx/blob/master/src/htmx....

IE support, haven't removed some of the shims, planning on doing so over time

Re: Htmx 2.0.0 has been released

#37

HTMX + static site generators is DOPE. If we had just these two things back in the 90's...

I'm probably totally ignorant, but how would htmx work with a static site generator? Isn't the whole point of htmx that it extends the front end to dynamically interact with the server and get responses to inject?

Re: Htmx 2.0.0 has been released

#39
post #28

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

> It's completely stupid HTML, by default, doesn't have basic controls found in EVERY UI toolkit since circa 1980. The standard examples being ListView and TreeView. This is one of my greatest frustrations with the web as a platform. These controls are so basic they should just be there , eliminating the need to sift through dozens of third-party implementations all with wildly varying feature sets, performance profi…

Well, they're not, and I can't find any good reason for why they aren't, when we're putting entire GPUs languages in there, except for the fact that somewhere in the HQ of one or more of those companies guiding web standards there is a discussion that goes something like:

Web Platform Dev: Boss, can we add TreeView to HMTL?

Web Platform Boss: Sounds cool, what are the advantages and disadvantages of doing this?

Web Platform Dev: Advantage: cross platform widget that's going to be super useful to many developers, replacing 3rd party ones of varying quality. Disadvantage: would take N months to implement and M years to have full adoptions, and yeah, it would probably increase adoption of the web platform, maybe even on mobile platform, where there is a chance that indirectly we will lose about $1-2bn per year from our walled garden, coupled with other web platform enhancements we should also make, regarding progressive web apps, local storage, etc.

Walled Garden Boss: Hey, SVP, can we please FIRE Web Platform Dev and Web Platform Boss as what they said amounts to a 2% drop in our share price?

Re: Htmx 2.0.0 has been released

#40

Earlier quoted context omitted.

https://htmx.org/extensions/head-support/ is returning 404.

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!
Post reply on HN