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

The default.tsx File in Parallel Routes

What is the default.tsx file used for in Parallel Routes?

Answer options

  • It defines the fallback rendered when a slot does not match the current route
  • It sets the application's default color theme
  • It is the main Next.js configuration file
  • It defines the default export of the entire application
Show the answer

Correct answer:

  • It defines the fallback rendered when a slot does not match the current route