Question · Next.js course · Module 2: Routing and Layouts

The loading.js File in App Router

The loading.js file in App Router is displayed:

Answer options

  • On logout
  • While the page is loading
  • On error
  • At the start of the application
Show the answer

Correct answer:

  • While the page is loading