Beta
System
CLI
Routing
Layout
Data
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.