Beta
System
Routing
CLI
Data
Layout
Components
Hooks
Etc
Returns a string that represents the current pathname.
It takes no arguments and will update every time the route changes.
Next
useRouter
Edit this page on GitHub.