News for hackers. Stuff that matters.
Re:SPAs Were a Mistake by gowld on Wednesday March 02, 2022 @12:46PM (#30530230)
Have you tried to use a site that reloads all the data on every click, from a slow, distant (high latency), or metered connection? Same problem.
Re:SPAs Were a Mistake by freedomben on Wednesday March 02, 2022 @03:37PM (#30532751)
Of course, and it's usually not as big of a problem because everything you need comes in the page render. With SPAs it's not uncommon to have to click 5 or buttons/menus and then wait for data to load, then click again, and more data.

That said there are plenty of SSR sites that are terrible too. It's not the technology that's at fault, but SPAs and common dev patterns in the community definitely enable and encourage making lots of small requests.

Re:SPAs Were a Mistake by int_19h on Thursday March 03, 2022 @01:47AM (#30537928)
Worse yet, with a traditional web app, you are in control of loading the page - or stopping the load, for that matter. With an SPA, it does all those requests in the background. Many apps fail silently (as in, don't refresh) if request to the backend fails.
Re:SPAs Were a Mistake by tomnipotent on Wednesday March 02, 2022 @05:50PM (#30534482)
> have to click 5 or buttons/menus and then wait for data to load, then click again, and more data.

How is that any different from SSR? Waiting for a full page reload is fine, but incremental loading is not?