String
Current route. That is the path of the page in /pages, the configured basePath or locale is not included.
String
The path (including the query) shown in the browser without the configured basePath or locale.
Object
The query string parsed to an object. It will be an empty object during prerendering if the page doesn't have data fetching requirements. Defaults to {}
boolean
Whether the router fields are updated client-side and ready for use. Should only be used inside of useEffect methods and not for conditionally rendering on the server. See related docs for use case with automatically statically optimized pages