What’s a Single-Page App? | jakelazaroff.com
November 7, 2024
Okay, let’s define the extrema of each axis:
- Server-side rendering (SSR) is when HTML is produced on a server and sent to the browser.
- Client-side rendering (CSR) is when HTML (or some other representation, such as the result of a JSX transform) is produced on the client and applied to the DOM.
- A multi-page app (MPA) is when a hyperlink click or form submission results in the browser replacing the current page with an entirely new document.
- A single-page app (SPA) is when the browser never replaces the page with a new document, and instead makes all changes through client-side DOM manipulation.
Jake Lazaroff goes deep into the question “What is a Single Page App?”