default.tsx

The fallback a parallel route slot renders when Next.js cannot tell which page should fill it, typically after a hard navigation.

In more detail

During soft navigation a slot keeps showing its last page. On a full load there is no such memory, so Next.js renders default.tsx, and without one the route returns 404.

Related terms

Taught in

References