Recall & Review
beginner
What is rendering strategy in Next.js?
Rendering strategy is the way Next.js decides when and how to generate the HTML for a page, either on the server, at build time, or on the client.
Click to reveal answer
beginner
Why does Next.js offer multiple rendering strategies?
Because different pages have different needs: some need fresh data every time, some can be pre-built for speed, and some can load data on the client for interactivity.
Click to reveal answer
intermediate
What is the difference between Server-Side Rendering (SSR) and Static Site Generation (SSG)?
SSR generates the page on each request, giving fresh data but slower response. SSG builds pages once at build time, making them very fast but less fresh.
Click to reveal answer
intermediate
How does rendering strategy affect user experience?
Choosing the right strategy can make pages load faster, show up quickly on screen, and keep data up to date, which makes users happy and engaged.
Click to reveal answer
intermediate
What happens if you choose the wrong rendering strategy for a page?
The page might load slowly, show outdated data, or use too much server power, which can frustrate users and increase costs.
Click to reveal answer
Which Next.js rendering strategy builds pages once at build time?
✗ Incorrect
SSG builds pages once during the build process, making them fast to serve.
What is a key benefit of Server-Side Rendering (SSR)?
✗ Incorrect
SSR generates pages on each request, so data is always fresh.
Why might you choose Client-Side Rendering (CSR) in Next.js?
✗ Incorrect
CSR loads data in the browser after the page loads, useful for interactive content.
What does Incremental Static Regeneration (ISR) allow you to do?
✗ Incorrect
ISR lets you update static pages after build time, combining speed and freshness.
What is a risk of using SSR for all pages?
✗ Incorrect
SSR requires the server to generate pages on every request, which can increase load and slow responses.
Explain why choosing the right rendering strategy in Next.js is important for both performance and user experience.
Think about how fast pages load and how fresh the data is for users.
You got /5 concepts.
Describe how Incremental Static Regeneration (ISR) combines benefits of static and dynamic rendering in Next.js.
ISR lets you update static pages without rebuilding the whole site.
You got /4 concepts.