News for hackers. Stuff that matters.
Re:Htmx is part of the GitHub Accelerator by dgb23 on Thursday August 17, 2023 @11:32AM (#37163253)
This annoyed me a bit but it's not a big deal.

You make two skeleton templates: One for full documents, one that has nothing in it except the parts that change (say, the meta > title, the body > main and the body > header > nav parts) each wrapped in a hx-swap-oob.

In general, out of band swaps are really, really convenient for non-hierarchical layout relationships.

There are no comments on this comment yet.