Lesson 20 of 30
Knowing what SSR, SSG, and CSR are is table stakes — the actual interview skill is choosing between them for a specific prompt by reading its SEO, personalization, and interactivity requirements out loud.
13 min read
Every option explains itself — why the right one is right, and why each wrong one is wrong. Miss one and it comes back later on a spaced-repetition schedule.
Question 1 of 3
An e-commerce product listing page needs to rank in search results, and its content is the same for every visitor at a given moment. Which rendering approach does the lesson point toward?
Hints without spoilers, and a plain explanation of why a wrong answer was wrong — answered only from this lesson. Free account, no card.
Sign up freeWhat interviewers actually ask about this, and what a strong answer has to cover.
A strong answer covers
Likely follow-ups
The Frontend Practices track's rendering-strategies lesson already covers what SSR, SSG, and CSR mechanically are — the server, the build step, and the browser doing the rendering work respectively. This lesson assumes that's known and focuses on something different: choosing between them as part of a system design answer, for a specific prompt, from a specific set of requirements — not from framework habit or personal preference.
Three questions do almost all of the work in that choice:
Prompt one: an e-commerce product listing page. It needs to rank in search ("running shoes size 10" should find this page), and its content — prices, descriptions, stock status — is the same for every visitor at a given moment, not personalized per user. That combination points at SSG with periodic regeneration (or SSR if prices change too often for a build-time snapshot to stay accurate): crawlers get real HTML immediately, and there's no per-user reason it needs to be computed fresh on every single request.
Prompt two: an internal analytics dashboard. It's behind a login, never indexed by a search crawler, and every user sees data scoped to their own account, their own filters, their own date range — content that's fundamentally personalized and interactive, not something that could be built once and served to everyone. SEO is entirely irrelevant here, which removes the main reason to reach for SSR or SSG in the first place; CSR is the sensible default; the login gate itself already means no crawler will ever see this content regardless of rendering strategy.
Naming why each answer follows from the requirements — not just stating the answer — is what a strong response sounds like: "this page needs to be crawlable and isn't personalized, so SSG fits" is a complete piece of reasoning; "I'd use Next.js SSR for everything" is a framework habit, not a decision.
A prompt like "how would you render this page" is testing whether a candidate can translate specific product requirements (crawlability, personalization, interactivity) into a rendering choice and explain the reasoning — not just recite what SSR, SSG, and CSR are.