Next.js · Middle · Question 18 of 75

What are parallel routes (@slot)?

Explanation

The @analytics folder becomes the analytics prop of the parent layout. Each slot has its own navigation, loading and error states - handy for dashboards and modals. On a full reload, an inactive slot renders its default.tsx (or a 404 if there isn't one).

Further reading

Problem with a question

Next.js · Middle · question 18

Test yourself

Take the Next.js · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz