"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
39,156
Published 2024-06-09
x.com/goodtweetsalex
alexanderpetros.com/
bigskydevcon.com/
All Comments (21)
-
Thank you.
-
I like the idea of HTMX, to just make things easy to work, without the overkill of e.g. React. Keep it simple and easy.
-
Another win with HTMX is that it’s got absolutely nothing to do with adding “AI” to all the things
-
Excellent talk! Let's get a formal proposal made
-
Good talk. Also I didn't know you can target an
-
Alex is a network of talent
-
Hey i was in that park yesterday!
-
When HTMX conf?
-
Not sure anyone uses put correctly in their rest apis according to this. Every framework out there seems to just use post or put for what should be a patch
-
14:20 buttons don't need them. Just wrap it in a form and add a submit handler... But for that we need put, delete, etc..
-
POST should be named CREATE in the first place imho 😅😅😅😅
-
Nooo dont make me use the platform 😭 I just want to write Solid
-
Want Infinite scroll? HTMX Want theme switching? HTMX Want user profiles and app settings? HTMX
-
What we need is native partial support in the standard. The moment browsers can automatically reconcile partials, it’s reset the market like react did to jquery. We already have the technical ability as view transitions api does something like that already. It replaces parts of the existing page with the result of the request.
-
Can we talk about the fact that htmx element apparently expects an html response from the server while we are all used to respond with json? I don't see how all rendering logic can go back to server. What if, say, we need to display returned result differently according to some ui-checkbox being checked or not?
-
If button can make requests, why can't any form element do it? Like or
-
Something that's no clear to me. If html can do native partial page updates, how does the server keep track of whether it should send back a full page or a fragment? That's a necessary part of the picture, and it wasn't addressed here. I love everything in this talk aside from that question. :-)
-
Button: logout > JS or wrap in an A tag. I hate it and it should just be a button with doFunc or submit
-
looks like a green screen stage?
-
Great talk! I'm waiting for someone to build a good component library that plays nice with HTMX then I migrate