News for hackers. Stuff that matters.
Re:Htmx is part of the GitHub Accelerator by traverseda on Wednesday August 16, 2023 @02:43PM (#37151721)
So you start by just re-sending the entire page but with content changed. Generally you'd use query parameters, like say you have a page with a table and you need to sort it. Add to your query parameters what order you want them in, re-render the whole page.

Then once you've got it figured out you just return the part of the template that you actually need to. Makes sense when you think of it as a progressive enhancement on a plain html page.

There are no comments on this comment yet.