Hacker News new | ask | show | jobs
by scottmmjackson 3566 days ago
SPA frameworks are not all-encompassing tools for buildong all web pages. Notably, trying to SEO a SPA is frustrating at best and impossible at worst.

However, in b2b use cases where SEO isn't an issue, SPA frameworks are ideal for coordinating a static-site<->dynamic-api system.

3 comments

React, Angular 2, Vue 2 and some other SPA frameworks or view systems all support server-side rendering with very little coercion nowadays. That combined with google executing javascript during indexing means that SEO isn't nearly the issue it used to be.
Server-side rendering is supported in several SPA frameworks now, and SEO is not an issue if you use it.
Google's been indexing SPAs fine for quite awhile.