Question · Next.js course · Module 3: Styling and Visual Optimization
The loading.js file in Next.js
What does the loading.js file display in Next.js App Router?
Answer options
- A 404 error page
- A loading UI while fetching data
- A login page
- An empty page with animation
You can check the correct answer by solving this task in the CodeWorlds game.