docs(usePathname): add note about using usePathname with rewrites (#69686)
## Why? A `useState` + `useState` need to be used with `usePathname` when the route is rewritten to. Adding this as a note to our documentation. - x-ref: https://github.com/vercel/next.js/pull/69631#pullrequestreview-2278118356
Showing
Please
register
or
sign in
to comment