-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
"asPath" information should be present in url objects that are passed as
properties to components, as documented in:
https://github.com/zeit/next.js/blob/master/readme.md#with-link
Each top-level component receives a url property with the following API:
...
asPath - String of the actual path (including the query) shows in the browser
...
Current Behavior
"asPath" is not present in url objects
Steps to Reproduce (for bugs)
- Check out the "url" properties of page components to see that "asPath" is missing
Notes
I'm aware that I can get "asPath" from the router object, but it looks like I should be able to get it from the url object as well.
Metadata
Metadata
Assignees
Labels
No labels