Next.js · Middle · Question 52 of 75

What happens in Next.js 16 if a parallel route slot @modal has no default.tsx?

Explanation

default.tsx is rendered when Next.js can't recover the slot's active state after a full page load. Return null from it if the slot should be empty.

Further reading

Problem with a question

Next.js · Middle · question 52

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