News for hackers. Stuff that matters.
Re:Datastar: Lightweight hypermedia framework for building i... by macmac on Friday October 10, 2025 @06:59AM (#45537427)
So your answers is no, you cannot provide any arguments.
Re:Datastar: Lightweight hypermedia framework for building i... by afavour on Friday October 10, 2025 @07:47AM (#45537810)
I think OPs point argues for itself. The example provided is awful developer ergonomics.
Re:Datastar: Lightweight hypermedia framework for building i... by array_key_first on Friday October 10, 2025 @10:53AM (#45539761)
Okay but why. Surely if you have auto complete this works just fine.
Re:Datastar: Lightweight hypermedia framework for building i... by palmfacehn on Friday October 10, 2025 @07:37AM (#45537727)
The poster provided an example of poor abstraction. HTML for display, JS for client side logic. Combining them is part of the problem with other popular frameworks.
Re:Datastar: Lightweight hypermedia framework for building i... by nchmy on Friday October 10, 2025 @08:02AM (#45537954)
No, it's the entire point of datastar - that you don't need much JavaScript at all because some simple html attributes do most of it for you, and any extra can either go in-line, or you can also just fallback to separate js scripts if needed.
Re:Datastar: Lightweight hypermedia framework for building i... by array_key_first on Friday October 10, 2025 @10:54AM (#45539774)
I think you, and others, just don't understand what hypermedia is or what the idea is trying to achieve.

Which is weird, because this is (was?) the predominant way to make websites for decades.

Re:Datastar: Lightweight hypermedia framework for building i... by sudodevnull on Friday October 10, 2025 @01:47PM (#45541738)
You mean like onclick?