Skip to content

Conversation

@icyJoseph
Copy link
Collaborator

Continuing work from - #82741

@icyJoseph icyJoseph self-assigned this Aug 19, 2025
@ijjk ijjk added created-by: Next.js DevEx team PRs by the DX team. Documentation Related to Next.js' official documentation. labels Aug 19, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Aug 19, 2025

All broken links are now fixed, thank you!


This allows a part of the route to be statically rendered while the dynamic part that uses `useSearchParams` is client-side rendered.

We recommend wrapping the Client Component that uses `useSearchParams` in a `<Suspense/>` boundary. This will allow any Client Components above it to be statically rendered and sent as part of initial HTML. [Example](/docs/app/api-reference/functions/use-search-params#static-rendering).
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was linking back to itself

```

The layout above is called a [root layout](/docs/app/api-reference/file-conventions/layout#root-layout) because it's defined at the root of the `app` directory. The root layout is **required** and must contain `html` and `body` tags.
The layout above is called a [root layout](/docs/app/api-reference/file-conventions/layout#root-layout) because it is the first layout in the `app` directory tree. The root layout is **required** and must contain `html` and `body` tags.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not 100% happy with "because it is the first layout" - in other places we say top-most

There's also the caveat that, with route groups one could technically have multiple root layouts , or this case:

  • app/dashboard/[id]/layout.tsx
  • app/marketing/layout.tsx

both are root layouts ~

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm should we say top most or something then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

created-by: Next.js DevEx team PRs by the DX team. Documentation Related to Next.js' official documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants