~/talk

SSR & SSG in NextJS

Talkat React Finland 2021 · 2021-08-30..09-03· [react, frontend-architecture]
slides:none on file

Converts a client-side fetch into getServerSideProps then into getStaticProps & getStaticPaths with a demo that initially generates ~100 pages then switches to prebuilding three popular pages and creating others on first request, exposes build time pain when pages scale, uses fallback: true and revalidate / ISR so stale pages regenerate, and shows the site serving prebuilt pages quickly while on-demand page generation works and lands in the server for future requests.

AI-written summary · about

  1. 0:00Removing customer friction
  2. 1:31Client-side limits
  3. 2:55Switching to SSR in Next.js
  4. 5:45Limitations of server-side rendering
  5. 6:28Introducing SSG in Next.js
  6. 12:14Static pages with getStaticPaths
  7. 13:59Large-scale static generation
  8. 17:42SSR vs SSG demo
  9. 18:24Q&A on incremental static regeneration
  10. 20:11Q&A on page priority
  11. 22:00SSR vs SSG for business
  12. 25:10Migrating legacy to Next.js
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.