A default component for a parallel route slot gives the router a fallback on a hard reload. Choose a quiet fallback when the slot is optional.
Worked example
// app/dashboard/@activity/default.tsx
export default function QuietOptionalSlot() {
return null;
}Implementation notes
A named slot can retain its previous active state during soft navigation. Test direct and in-app routes because the router reconstructs slot state differently.
Try it yourself
Open the nested route directly and compare it with client-side navigation.
Open the Next.js example →Editorial date March 13, 2026 · Published December 6, 2026