Re:Htmx is part of the GitHub Accelerator
by spapas82 on Wednesday August 16, 2023 @04:15PM
(#37153093)
This is how unpoly works (it receives the whole response and patches the page with the correct part of that response).
Re:Htmx is part of the GitHub Accelerator
by tommica on Wednesday August 16, 2023 @04:25PM
(#37153267)
Oh that's cool!
Re:Htmx is part of the GitHub Accelerator
by Lukas_Skywalker on Wednesday August 16, 2023 @05:50PM
(#37154368)
Rails does this with Turbo Frames [1]. When clicking a link that is contained in a <turbo-frame> element, the frame is automatically replaced if the response contains a frame with the same ID.
This way htmx would be even easier to implement in any front-end.
Or maybe I am just crazy.
Edit: or is it this? https://htmx.org/docs/#selecting-content-to-swap