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>
Showing
Please
register
or
sign in
to comment