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