SSR/SPA/SSG

First-class SSR:

  • HTML streaming
  • Progressive rendering (aka partial hydration)

First-class SPA/SSG:

  • +prerender (boolean) => disable/enable (page-by-page basis)
  • +ssr (boolean) => toggle SSR/SPA (page-by-page basis)
  • +data.client.js => 100% client-side data fetching
  • Redirects
  • ...

Easily create SPA like the old days
=> hard with other frameworks (but shouldn't!)