DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Next.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
Next.js
Why is a catch-all route (e.g. app/@auth/[...catchAll]/page.tsx returning null) sometimes used to close a modal?
A
It's purely stylistic
B
Because navigating to ANY other page needs the modal's slot to match SOMETHING that renders null, since a non-matching slot only falls back correctly on a hard navigation, not a soft one
C
Catch-all routes are required for all parallel routes
D
It improves SEO
Check Answer