4 ms·
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 t
by andersmurphy 4mo 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.
https://checkboxes.andersmurphy.com https://checkboxes.andersmurphy.com
- lucumo 4mo agoThe 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.
- onion2k 4mo agoevery 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.
- bcjdjsndon 4mo agoIt baffles me people can write software like this.... Surely it's the most basic tenet of webpages is that it's all sent over the network and the network lags and drops packets.