next.js
12cbab27 - docs(usePathname): add note about using usePathname with rewrites (#69686)

Commit
1 year ago
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
Author
Parents
Loading