next.js
e5a45c8a - docs: clarify `usePathname` usage as client hook. (#51146)

Commit
2 years ago
docs: clarify `usePathname` usage as client hook. (#51146) 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. --------- Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
Author
Parents
Loading