Kliknij w kolejności · Kurs Next.js · Moduł 1: Konfiguracja Next.js

Eksport Server Component

Ułóż składnię eksportu Server Component w Next.js

Elementy do kliknięcia

  • <div>...</div>
  • export
  • { return
  • default
  • Page()
  • async function
  • }
Pokaż odpowiedź

Poprawna kolejność:

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