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:
- export
- default
- async function
- Page()
- { return
- <div>...</div>
- }