Question · Next.js course · Module 8: Deployment and Production

Nesting Components in App Router

Which component nesting is correct in Next.js App Router?

Answer options

  • You cannot mix Server and Client Components in a single tree
  • A Client Component can render a Server Component as children (via props)
  • A Server Component cannot render a Client Component
  • A Client Component can directly import a Server Component

You can check the correct answer by solving this task in the CodeWorlds game.