Why can't usePathname be a server or client hook? #73800
Browntiger2
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-Goals
Background
With upcoming compiler it is something that compiler should be able to handle.
Proposal
Get that usePathname working on both server / client components
Beta Was this translation helpful? Give feedback.
All reactions