HTMX the framework that sends a server request to put a textfield into edit mode? Nah sorry, not convinced.
Htmx doesn't prevent anyone from using JS, and using a tiny bit of localized JS is explicitly encouraged.
Htmx is part of the GitHub Accelerator
321–330 of 520 posts
Re: Htmx is part of the GitHub Accelerator
#322After reading the linked website for like 2 hours I still can’t tell if this is a joke or for real…
Re: Htmx is part of the GitHub Accelerator
#323Earlier quoted context omitted.
https://twitter.com/foxy4096/status/1691432812870828032?s=20 This is a boon to many django developers. I remember few month ago I was making a post liking system, before htmx, I had to use jQuery to fetch the json api server and update the like count, but with the use of HTMX, oh boy it was like I was just writing plain html along with my django logic. This is one of the greatest thing I've found. Also, handling form…
The other day I wrote an htmx extension for aws api. You could describe an element using the common htmx tag such as for confirmation, triggers etc, but the ajax fetched any aws object like ec2 instances, pipelines, whatever. It's awesome!
Re: Htmx is part of the GitHub Accelerator
#324Earlier quoted context omitted.
Why the heck would you use jQuery in 2023 though?
My main use case will be basic UI interaction, mostly just posting or fetching data from a backend then updating the innerHTML on some element. Vanilla might be enough, but I'm keeping my options open. Also, no compilation step, so no need for npm, etc
Re: Htmx is part of the GitHub Accelerator
#325Earlier quoted context omitted.
I don't think that secular society posits some kind of natural inalienable objective moral law. I'm sure you know this but many, many people do not believe in objective morality
The idea of rights can be seen to emerge in large part from multiagent decision theory. This should not be surprising because moral intuitions arose as humans evolved living in groups. http://www.daviddfriedman.com/Academic/Property/Property.htm...
Re: Htmx is part of the GitHub Accelerator
#326Re: Htmx is part of the GitHub Accelerator
#327it does not work well with the ever growing restful API backend services to me.
[0] https://htmx.org/essays/how-did-rest-come-to-mean-the-opposi...
Re: Htmx is part of the GitHub Accelerator
#328Earlier quoted context omitted.
Why the heck would you use jQuery in 2023 though?
It's a boring and battle proven tool that just works and has no use by date, by the way.
Re: Htmx is part of the GitHub Accelerator
#329Earlier quoted context omitted.
Generating some HTML instead of JSON isn't that much data/CPU. But doing all that in the browser might have a big impact on UX performance-wise.
This doesn't make sense. Can you elaborate? If it's not much work for the server, why would it be work for the browser?
Re: Htmx is part of the GitHub Accelerator
#330hi there, as many of you know, i am the creator of htmx and I'm happy to answer any questions about it htmx has seen a surge in popularity, triggered by a video by fireship dev ( https://www.youtube.com/watch?v=r-GSGH2RxJs ) and a series of videos by ThePrimeagen, a popular twitch streamer on it hacker news readers might be interested in the essays I have written on htmx & hypermedia in general here: https://htmx.org…