fix: move ClerkProvider inside html/body tags in Next.js examples#2963
Merged
jacekradko merged 2 commits intocore-3from Jan 13, 2026
Merged
fix: move ClerkProvider inside html/body tags in Next.js examples#2963jacekradko merged 2 commits intocore-3from
jacekradko merged 2 commits intocore-3from
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Move ClerkProvider to be inside the <html> and <body> tags rather than wrapping them in all Next.js App Router code examples. This is the correct pattern for Next.js applications. Files updated: - docs/getting-started/quickstart.mdx - docs/reference/components/clerk-provider.mdx - docs/guides/organizations/getting-started.mdx - docs/reference/nextjs/errors/auth-was-called.mdx - docs/guides/development/migrating/authjs.mdx - docs/guides/development/shadcn-cli.mdx - docs/guides/secure/waitlist.mdx - docs/guides/secure/best-practices/csp-headers.mdx - docs/guides/dashboard/dns-domains/proxy-fapi.mdx - docs/guides/development/upgrading/upgrade-guides/nextjs-v6.mdx Note: TanStack React Start examples were left unchanged as they correctly wrap <html> per that framework's requirements.
54f8ded to
cfcba75
Compare
alexisintech
approved these changes
Jan 13, 2026
Member
alexisintech
left a comment
There was a problem hiding this comment.
caught one! other than that, lgtm 😸💖
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
<ClerkProvider>to be inside<html>and<body>tags rather than wrapping them in all Next.js App Router code examplesChanges
Updated 10 files:
docs/getting-started/quickstart.mdxdocs/reference/components/clerk-provider.mdxdocs/guides/organizations/getting-started.mdxdocs/reference/nextjs/errors/auth-was-called.mdxdocs/guides/development/migrating/authjs.mdxdocs/guides/development/shadcn-cli.mdxdocs/guides/secure/waitlist.mdxdocs/guides/secure/best-practices/csp-headers.mdxdocs/guides/dashboard/dns-domains/proxy-fapi.mdxdocs/guides/development/upgrading/upgrade-guides/nextjs-v6.mdxBefore (incorrect)
After (correct)
Notes
<html>per that framework's requirements