Ułóż w kolejności · Kurs Next.js · Moduł 2: Routing i layouty
Kolejność renderowania komponentów
Ułóż kolejność renderowania komponentów w App Routerze
Elementy do ułożenia
- layout.js (nested)
- loading.js
- page.js
- layout.js (root)
Pokaż odpowiedź
Poprawna kolejność:
- layout.js (root)
- layout.js (nested)
- loading.js
- page.js