by andrenotgiant · 8y ago · 0 comments
- Content site = NOT single-page-app
- Application = single-page-app
Maybe there's more of a gray area between content sites and applications these days, but I think it's still pretty obvious: If most of the user's time is spent reading content, it's a content site.
If the user needs to look at multiple screens at a time (e.g. like a mail client or something of similar complexity), then they're a candidate for an SPA. If the user does not need to do that, the app is probably simple enough to not be an SPA.
You can do everything you mentioned without an spa just fine. Plenty of content sites (the majority, actually) survive just fine.
The idea is to load only the React components and the data needed for each route at load time. An example of a page generated with this technique: http://inflacao.org/series/
and you were right, although, with things like Angular Universal and initial server side rendering of SPAs in general, are changing this.