SPAs: where did it all go wrong
summary
Argument: single-page apps often deliver an empty white page then a long waterfall of API calls, producing seven nested loading spinners and, in one news-site profiling case, five copies of jQuery injected by ads. The evidence: large news sites moved from server-rendered React to pain points around huge JS bundles, fragile client-side state and accessibility losses. Practical alternatives shown are transitional/universal approaches (Remix, Blazor, Next.js with React Server Components, Hotwire) that render HTML on the server, hydrate selectively, leverage HTTP caching and cut shipped JavaScript dramatically.
AI-written summary · about
chapters (10)
- 0:00Introduction and context
- 3:58Multi-page applications explained
- 9:02Progressive enhancement and JavaScript
- 13:16Birth of single page apps
- 21:25Where SPAs went wrong
- 25:40Trade-offs of SPAs vs MPAs
- 27:49Universal JavaScript and transitional apps
- 33:09Next-gen frameworks and solutions
- 39:32Takeaways and recommendations
- 40:35Q&A session
