News for hackers. Stuff that matters.
Re:I Switched from Htmx to Datastar by yxhuvud on Friday October 10, 2025 @06:37AM (#45537289)
> if I had to go back to something lighter, I'd just go back to all in SSR with Rails

FWIW, default config of Rails include Turbo nowadays, which seems quite similar to Datastar in concept.

Re:I Switched from Htmx to Datastar by ndyg on Friday October 10, 2025 @11:55AM (#45540378)
My understanding is Turbo is more aligned with htmx. Common practice in Turbo are generally patterns of last resort in Datastar.

e.g. Datastar prescribes a single long lived SSE endpoint that owns the state for the currently connected user's view of the world / app, while common practice in Turbo is to have many small endpoints that return a fragment of html when requested by the client.