News for hackers. Stuff that matters.
Re:Htmx Is Composable? by zaphod420 on Wednesday January 17, 2024 @10:13AM (#39028788)
I've only just started getting into HTMX, but I think the point of it is more about hypermedia as the engine of application state. The response is a self contained declarative UI. The browser just has to stick the response in the right place. There is no need to interpret the response and create the UI based on it.
Re:Htmx Is Composable? by thomassharoon on Wednesday January 17, 2024 @10:21AM (#39028917)
Yep.

https://hypermedia.systems/hypermedia-components/

And to avoid entire page rewrites, there is alway the option to inject a server response (html) into the top (or end) of comments for example.