News for hackers. Stuff that matters.
Re:SPAs Were a Mistake by dlisboa on Wednesday March 02, 2022 @02:08PM (#30531428)
I disagree with that. There's no real reason for each page to be a separate SPA, most likely only a small part of that page will be interactive, and most of it will be cacheable. Extracting only the interactive parts of a page into components is what I'm talking about. In some cases that'll be all of the page, but there are very few apps that meet that criteria.
Re:SPAs Were a Mistake by prmph on Wednesday March 02, 2022 @02:14PM (#30531516)
Of course if only a small part of your app is interactive, then SPAs don’t come into the picture in the first place.

My point is that for very interactive web apps, this is a significantly better architecture that a huge monolithic SPA

Re:SPAs Were a Mistake by tracker1 on Wednesday March 02, 2022 @06:53PM (#30535212)
Not only that but bundle splitting allows for extra areas of the application to be loaded at runtime on demand.

All of that said, I'm not opposed to approaches like Next/Nuxt/Aleph.

Re:SPAs Were a Mistake by LAC-Tech on Wednesday March 02, 2022 @05:02PM (#30533829)
I mean in this model, if each page is an SPA, then the line between an SPA and an interactive page is very blurry.