web dev//rendering//SPA
A web application where most navigations happen without reloading a complete HTML document. It looks like you change pages, but you stay inside the same application.
A web application where most navigations happen without reloading a complete HTML document. It looks like you change pages, but you stay inside the same application.
Routing happens in the browser: the URL changes, JavaScript swaps the view, and the document never reloads. This site is one: the same shell serves every route.
SPA is not the same as CSR. One is about navigation, the other about where HTML is built. You can have SPA with CSR (empty shell, everything client-built) or SPA with SSR plus hydration (server-rendered first load, client navigation afterwards).
For crawlers the SPA problem is really the CSR problem: a non-rendering crawler sees the empty shell, and internal links that exist only after JavaScript runs are never followed, which is why a sitemap matters more for SPAs.