A practical guide to deciding where data fetching belongs: server components, SSR, SSG/ISR, or client-side hooks.
Notes tagged with nextjs
nextjs
How to think about caching for SSR, SSG/ISR, and client fetches, and how stale-while-revalidate keeps pages fast and fresh.
A conceptual look at the rendering models behind modern web apps—what SSR, SSG, CSR, and ISR are, how they work, and the trade-offs behind each.