Recall & Review
beginner
What is one main advantage of Next.js compared to plain React?
Next.js provides built-in server-side rendering, which helps pages load faster and improves SEO without extra setup.
Click to reveal answer
beginner
How does Next.js simplify routing compared to plain React?
Next.js uses file-based routing, so you create pages by adding files in the 'app' folder, no need to configure routes manually.
Click to reveal answer
intermediate
What feature of Next.js helps with faster page loads by preloading pages in the background?
Next.js automatically prefetches linked pages, so navigation feels instant and smooth.
Click to reveal answer
beginner
Why is Next.js considered better for SEO than plain React?
Because Next.js renders pages on the server before sending them to the browser, search engines can read the full content easily.
Click to reveal answer
intermediate
What is a key benefit of Next.js's support for server actions?
Server actions let you run server code directly from components, simplifying data handling and improving security.Click to reveal answer
Which feature does Next.js provide out of the box that plain React does not?
✗ Incorrect
Next.js includes server-side rendering by default, while plain React renders only on the client.
How does Next.js handle routing?
✗ Incorrect
Next.js uses file-based routing, where the file structure defines routes automatically.
What benefit does prefetching pages in Next.js provide?
✗ Incorrect
Prefetching loads linked pages in the background, making navigation feel instant.
Why is Next.js better for SEO than plain React?
✗ Incorrect
Server-side rendering means search engines get fully rendered HTML, improving SEO.
What is a server action in Next.js?
✗ Incorrect
Server actions allow running server code directly from React components, simplifying data handling.
Explain why Next.js can improve website SEO compared to plain React.
Think about how search engines see your page content.
You got /3 concepts.
Describe how Next.js routing differs from routing in plain React apps.
Consider how you create pages and routes in Next.js.
You got /3 concepts.