Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: mark app router dynamic example as client component #74806

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

huozhi
Copy link
Member

@huozhi huozhi commented Jan 12, 2025

Update the example of next/dynamic usage in app router with "use client" directive, as most of time we use it for client side bundle splitting

slack-ref

@huozhi huozhi requested a review from eps1lon January 12, 2025 21:11
@ijjk ijjk added created-by: Next.js team PRs by the Next.js team. Documentation Related to Next.js' official documentation. labels Jan 12, 2025
@huozhi huozhi merged commit 9010e45 into canary Jan 13, 2025
52 checks passed
@huozhi huozhi deleted the docs/add-use-client-dynamic branch January 13, 2025 12:58
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Next.js team PRs by the Next.js team. Documentation Related to Next.js' official documentation. locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants