Click in order · Next.js course · Module 1: Next.js Configuration

Server Component Export

Arrange the syntax for exporting a Server Component in Next.js

Items to click

  • <div>...</div>
  • export
  • { return
  • default
  • Page()
  • async function
  • }
Show the answer

Correct order:

  1. export
  2. default
  3. async function
  4. Page()
  5. { return
  6. <div>...</div>
  7. }