News for hackers. Stuff that matters.
Re:I Switched from Htmx to Datastar by mdallastella on Friday October 10, 2025 @05:25AM (#45536856)
This. I feel wrong having endpoints that produce bits of HTML.
Re:I Switched from Htmx to Datastar by hshdhdhehd on Friday October 10, 2025 @07:31AM (#45537664)
Yes. It is OK for simple form submits but going to get annoying for anything that feels like an app.
Re:I Switched from Htmx to Datastar by e12e on Friday October 10, 2025 @07:42AM (#45537772)
There's a reason xpath and xls look they way they do - they're powerful, but not very comfortable :/

Reimplantations tend to simply some bits, but end up amassing complexities in various corners...

Re:I Switched from Htmx to Datastar by sudodevnull on Friday October 10, 2025 @10:07AM (#45539254)
Servers sending HTML to the browser? Scandalous!
Re:I Switched from Htmx to Datastar by naasking on Friday October 10, 2025 @10:47AM (#45539700)
What has the world wide web come to?!
Re:I Switched from Htmx to Datastar by Izkata on Friday October 10, 2025 @10:25AM (#45539467)
"Bits of HTML" was for a long time so common and normal it has its own term: HTML fragments.
Re:I Switched from Htmx to Datastar by dpc_01234 on Friday October 10, 2025 @01:17PM (#45541354)
Not sure if satire, or serious. Well done, well done.
Re:I Switched from Htmx to Datastar by aiiizzz on Friday October 10, 2025 @04:07PM (#45543201)
People today don't remember that assigning to innerHTML isn't a good idea, so anything goes.