News for hackers. Stuff that matters.
Re:SPAs Were a Mistake by RHSeeger on Wednesday March 02, 2022 @12:35PM (#30530071)
> When either an SPA or a multi-page site is done well most users can't tell which sort of site they're looking at.

And therein lies the problem. In the _vast_ majority of SPA sites I've been to, they are not "well done" by this definition. It is commonplace for things to break, like the back button as the quintessential example, because the developer(s) didn't spend the time to make sure things work correctly. With a non-SPA site, you generally have to go out of your way _to_ break those same things.

I like SPAs for some things (gmail being a good example), but they should not be the default implementation; there should be a _very_ strong argument before the SPA architecture is used.

Re:SPAs Were a Mistake by gowld on Wednesday March 02, 2022 @12:44PM (#30530201)
You're just saying that bad software is bad. That's tautological.

Without SPA you have horrific 10page forms and the challenge of maintaining state as you go back and forth to make edits.

The hard part is managing state, and there is no way to avoid it if your product is not purely readonly. SPA is one strategy, and a pretty good one.

Re:SPAs Were a Mistake by acdha on Wednesday March 02, 2022 @03:19PM (#30532493)
If one style of writing applications is far more prone to having “bad software”, consider that this is a valuable signal about the difficulty of using that style effectively. SPAs require you to take on ownership of more hard to debug challenges and that's an important factor to consider when selecting tools.
Re:SPAs Were a Mistake by onaworkcomputer on Wednesday March 02, 2022 @01:17PM (#30530707)
The GP was not saying "bad software is bad"; they pointed out a lot of footguns that are introduced by going the SPA route. "More code -> more (opportunities for) bugs" is the truism at play here.