Live data from Hacker News

Htmx 2.0.0 has been released

htmx.org

41–50 of 146 posts

Re: Htmx 2.0.0 has been released

#41

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

I'll join the others in praise of HTMX, it's a joy adding dynamic functionality to any website now. Thank you!

Re: Htmx 2.0.0 has been released

#42

Earlier quoted context omitted.

Are there any efforts to push functionality like this into the HTML standard? It would be nice if htmx eventually became unnecessary as browsers implemented it, and the work you're doing with proving it out in the wild seems like a crucial part of that.

yes, there are, alex petros, an htmx maintainer, gave a talk at Big Sky Dev Con on the shortest path to htmx-like functionality in HTML here: https://www.youtube.com/watch?v=inRB6ull5WQ we are talking w/the chrome developers about these ideas, i'm cautiously optimistic

> we are talking w/the chrome developers about these ideas

I hope this does not become a chrome-only feature in that case

Re: Htmx 2.0.0 has been released

#44

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?

On a documentation site, photo gallery, etc, it is very reasonable to use something like htmx to implement navigation without triggering full page loads.

Re: Htmx 2.0.0 has been released

#45

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

Thank you for building htmx!

Re: Htmx 2.0.0 has been released

#46

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?

You could have static elements pre-rendered, but only loaded on demand. For example, if you had a blog with comments, you could have the comments pre rendered in htmx fragments, but only loaded when they are clicked.

Or a photo gallery with thumbnails that are enlarged when clicked.

At least, that’s one way it could work.

Re: Htmx 2.0.0 has been released

#47

Earlier quoted context omitted.

Are there any efforts to push functionality like this into the HTML standard? It would be nice if htmx eventually became unnecessary as browsers implemented it, and the work you're doing with proving it out in the wild seems like a crucial part of that.

yes, there are, alex petros, an htmx maintainer, gave a talk at Big Sky Dev Con on the shortest path to htmx-like functionality in HTML here: https://www.youtube.com/watch?v=inRB6ull5WQ we are talking w/the chrome developers about these ideas, i'm cautiously optimistic

Do you also plan on talking with the Mozilla people? And with Apple? Or will this be a kind of big daddy Google knows what's best for you, ads included?

Re: Htmx 2.0.0 has been released

#49

Earlier quoted context omitted.

yes, there are, alex petros, an htmx maintainer, gave a talk at Big Sky Dev Con on the shortest path to htmx-like functionality in HTML here: https://www.youtube.com/watch?v=inRB6ull5WQ we are talking w/the chrome developers about these ideas, i'm cautiously optimistic

> we are talking w/the chrome developers about these ideas I hope this does not become a chrome-only feature in that case

agreed, but the chrome team is in communication w/the other browser makers and often drives new standards (e.g. https://developer.mozilla.org/en-US/docs/Web/API/View_Transi...)

their latest features have started leaning into improving the hypermedia infrastructure of the web so i'm optimistic

Re: Htmx 2.0.0 has been released

#50
post #47

Earlier quoted context omitted.

yes, there are, alex petros, an htmx maintainer, gave a talk at Big Sky Dev Con on the shortest path to htmx-like functionality in HTML here: https://www.youtube.com/watch?v=inRB6ull5WQ we are talking w/the chrome developers about these ideas, i'm cautiously optimistic

Do you also plan on talking with the Mozilla people? And with Apple? Or will this be a kind of big daddy Google knows what's best for you, ads included?

I don't have contacts in those groups, but chrome is in contact w/them and has pushed forward hypermedia-friendly features e.g. https://developer.mozilla.org/en-US/docs/Web/API/View_Transi...

i have told my chrome team contacts about bugs in other browsers (e.g. safari not properly updating completion results when datalist elements are replaced asynchronously) and they have communicated these issues to those teams and gotten them fixed

if anyone reading this from other browser teams is interested in getting in contact w/me they can email me at carson at bigsky dot software

Post reply on HN