Back to Next.js

Server Components & Data Fetching

Server components, SSR, SSG, and data fetching strategies.

Server Components & Data Fetching

Understand when to render on the server vs the client. Use server components for data-fetching and performance benefits where appropriate.

Patterns

  • SSR, SSG, ISR tradeoffs
  • Using fetch/async in server components
  • Edge functions and caching strategies