ForgeFrontend — Prepare, Practice, Crack
Secure checkout
Lifetime access
Instant Drive delivery
Free updates forever

Prepare · Practice · Crack

What is the difference between CSR, SSR, SSG and how does Next.js fit in?

Quick answer

CSR renders in the browser; SSR renders HTML per request on the server; SSG pre-renders at build time. Next.js supports all three plus Server Components.

In detail

Client-Side Rendering ships JS that builds the page in the browser (fast navigations, slower first paint, weaker SEO). Server-Side Rendering generates HTML on each request (good SEO/first paint, server cost). Static Site Generation builds HTML at deploy time (fastest, best for content). Next.js lets you choose per route and adds React Server Components and streaming for fine-grained control.

Why interviewers ask this: Rendering strategy is a common architecture question.

This is 1 of 118+ questions in the React Interview Kit

Get every question with detailed answers, follow-ups and real code — plus coding challenges and a last-minute revision sheet. One-time payment, instant access.

⚡ Get the React Interview Kit → ₹399

Full kit

React Interview Kit · ₹399

Get it →