| ▲ | catapart 4 days ago | |||||||
> You can add custom commands with invokes and custom JS, but at that point you're basically re-implementing HTMX yourself[...] Exactly. So why use a library? If it's that simple, the suggestion is akin to using a library for a toggle, when a checkbox would do. Yes, there are reasons to do it, but no, it's not what I'm going to do most of the time. ETA: sorry; I should have mentioned, I'm ignoring server stuff because it's not my use case. I don't hydrate code on a server and send it down to people. I just write HTML or let javascript compose it in the browser. Since I don't use frameworks, that's the way I've developed to be efficient. Since I can't speak to how useful htmx is for server-rendered stuff, I'm staying out of it. Just talking about what htmx can do for me, which is very little. | ||||||||
| ▲ | yawaramin 4 days ago | parent [-] | |||||||
Why use any library, ever? Why not just reimplement the wheel yourself every time then? | ||||||||
| ||||||||