Hacker News new | ask | show | jobs
by onion2k 1 day ago
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.

1 comments

It 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.