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: clarify usePathname usage as client hook. #51146

Merged
merged 4 commits into from Jun 12, 2023
Merged

Conversation

leerob
Copy link
Member

@leerob leerob commented Jun 12, 2023

Using client components for usePathname is not a de-optimization. This update tries to make this more clear by sharing more information about the design and tradeoffs of this approach.

delbaoliveira
delbaoliveira previously approved these changes Jun 12, 2023
docs/02-app/02-api-reference/04-functions/use-pathname.mdx Outdated Show resolved Hide resolved
@leerob leerob merged commit e5a45c8 into canary Jun 12, 2023
30 of 32 checks passed
@leerob leerob deleted the usepathname-docs branch June 12, 2023 14:58
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants