@ryansolid.bsky.social thanks for the discussion on stream today! You asked on stream today to show you a trello or otherwise sufficiently complex app in datastar. Here is that as as well as a few others that opened my eyes a bit, as a former skeptic. kanban.jsonbateman.com
Post
Thanks for posting. I would respond but @gabbev.bsky.social pretty much has it completely covered. He's not trying to be difficult. The first thing I do when playing around with an app is throttle the network and see if it holds up. I did that on stream too. I hope this thread serves as a reference.
I'm suggesting that because of their wheelhouse modern SPA frameworks tend to account for this category in their design. I view HyperMedia as lower level protocol. I don't see an issue communicating with HTML partials etc. There is just a lot that sits on top of that. bsky.app/profile/ryan...
No one is dismissing hypermedia or the like. Server components are basically a nod to them. There is just a reason like how you acknowledge you can't stop at HTMX, that I don't stop at Datastar. Not anything wrong with what its doing.
But in my experience there are many apps where that is simply not the case. A realtime dashboard for example, the app I build for a living, benefits from the server-authoritative model, regardless of network latency.
0 reposts0 likes
Yeah I mean it depends on how much changes. HTML chunk might be fastest but do you replace the whole page? Do you replace a dozen little pieces? Do those pieces themselves contain shared client side ephemeral state. Once we stopped shipping the page wholesale the places that wiring shows up increase