Comment by andersmurphy
11 hours ago
Is it slow though? Like in practice? This demo [1] using Datastar (a streaming HTML framework) every action including scrolling roundtrips to the server. Even the checkboxes changing colour is a roundtrip.
11 hours ago
Is it slow though? Like in practice? This demo [1] using Datastar (a streaming HTML framework) every action including scrolling roundtrips to the server. Even the checkboxes changing colour is a roundtrip.
every action including scrolling roundtrips to the server
As soon as you include a network roundtrip in anything you're opening up a Pandora's box of slow connections, slow DNS queries, network outages, what-if-the-user-is-on-a-train problems, what-if-their-IP-changes-mid-flow problems, etc.
Reducing the network calls in any app has upsides and downsides. It isn't really true that SPAs are faster to render (as your example proves) but rendering speed isn't the only thing that matters.
The advantage of SPAs, like the checkboxes page, is that they can do the round-trip less visibly. The user can still continue the next thing. So even if it is slow, it's less of a deal than loading and rendering a page anew.
> Is it slow though? Like in practice?
The multi-page wizards? The ones I've seen were. Enterprise crap systems.