docs: parallel routes named slots require default.js (v16) (#102570)
Aligns the Parallel Routes reference with the `default.js` reference and
the v16 upgrade guide: named slots without `default.js` fail the build,
while the implicit `children` slot still renders a `404`.
**Why**
Next.js 16 ([#84702](https://github.com/vercel/next.js/pull/84702)) made
`default.js` required for every named parallel-route slot. Builds now
fail if one is missing; only the implicit `children` slot keeps the
runtime `404`. The [`default.js`
reference](https://nextjs.org/docs/app/api-reference/file-conventions/default)
and the [v16 upgrade
guide](https://nextjs.org/docs/app/guides/upgrading/version-16#parallel-routes-defaultjs-requirement)
describe this, but the [Parallel Routes
reference](https://nextjs.org/docs/app/api-reference/file-conventions/parallel-routes#defaultjs)
still has the pre-v16 wording ("If `default.js` doesn't exist, a `404`
is rendered instead") in two places. The pages contradict each other.
**Approach**
Docs-only edits to `parallel-routes.mdx`, matching the wording and
example in `default.mdx`:
- `default.js` section: named slots require `default.js` and the build
fails without it. Added the `notFound()` example (TS/JS switcher) for
keeping `404` semantics, and said that a missing `default.js` for
`children` renders a `404`.
- Behavior → Hard Navigation: the `404` fallback now applies only to
`children`.
- Good to know: reworded to explain why `default.js` is required, and
pointed to `notFound()` or `return null`.
**Validation**
- Checked the behavior against #84702:
`MissingDefaultParallelRouteError` (webpack) and
`MissingDefaultParallelRouteIssue` (Turbopack) are skipped only for
`children`.
- `prettier --check` passes on the changed file.
Co-authored-by: vercel-v[bot]
<353008837+vercel-v[bot]@users.noreply.github.com>
---------
Co-authored-by: vercel-v[bot] <353008837+vercel-v[bot]@users.noreply.github.com>