News for hackers. Stuff that matters.
Re:I Switched from Htmx to Datastar by trumbitta2 on Friday October 10, 2025 @04:39AM (#45536588)
I can't say I like the server returning portions of HTML that need to match the HTML in the client, but I can see myself trying it in a monorepo and using some templating lib on both sides.

Let's say I'm intrigued and on the fence.

Re:I Switched from Htmx to Datastar by nasretdinov on Friday October 10, 2025 @05:09AM (#45536727)
I guess one thing that might be potentially problematic is that if you update the server while someone has the page still open you need to match their original templates version and not the new (potentially incompatible) one
Re:I Switched from Htmx to Datastar by hide_on_bush on Friday October 10, 2025 @05:22AM (#45536834)
Fair point, but we often do "fat morphs", i.e. patching the whole <body> element because this one isn't going anywhere.