Dev Helpers

Next.js / Route fallbacks

Quiet optional slot

Dev Helpers · March 13, 2026

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

Related articles

Free bin volume

Free storage volume depends on consistent dimensions and units. Derive capacity and usage in the same unit before formatting a human-readable summary.

Draft preview indexing

Draft pages need deliberate indexing metadata. An indexing directive controls crawler intent, while access to unpublished material needs a separate permission check.

Party size allocation

Allocating a party into groups is an integer problem. The remainder determines whether another group is needed and how full it will be.