I am having trouble to get around the glossary entry here:
|
<strong>Navigation model</strong> — Does the browser perform a full page load |
|
for each route (MPA), or does JavaScript intercept navigation and update the |
|
page in-place (SPA)? |
For me, this is not realistic. What is described here is good old server rendered pages and not necessarily a multi page app.
Afaik every meta framework has some form of link primitive that keeps the current site open while the server renders the next one and navigates over smoothly.
A fresh page load would mean to use <a> but nobody ever does that in a meta framework (besides sveltekit but sveltekit handles all <a> the same as e.g. nuxt does <NuxtLink> so its not even a fair comparison at this point because sveltekit will NOT do a fresh page load).
I would argue that the difference between SPA and MPA is critically that an MPA has multiple pages that are all rendered on the server without requiring to load a whole chunk of js for client side rendering and not so much of it is a fresh page load.
But then - we are really just measuring SSR again. Thats why I find the split of SPA to MPA kinda pointless.
WDYT?
I am having trouble to get around the glossary entry here:
framework-tracker/packages/docs/src/pages/glossary.astro
Lines 31 to 33 in 8606046
For me, this is not realistic. What is described here is good old server rendered pages and not necessarily a multi page app.
Afaik every meta framework has some form of link primitive that keeps the current site open while the server renders the next one and navigates over smoothly.
A fresh page load would mean to use
<a>but nobody ever does that in a meta framework (besides sveltekit but sveltekit handles all<a>the same as e.g. nuxt does<NuxtLink>so its not even a fair comparison at this point because sveltekit will NOT do a fresh page load).I would argue that the difference between SPA and MPA is critically that an MPA has multiple pages that are all rendered on the server without requiring to load a whole chunk of js for client side rendering and not so much of it is a fresh page load.
But then - we are really just measuring SSR again. Thats why I find the split of SPA to MPA kinda pointless.
WDYT?