1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/lib/router
Tim Neutkens c4d0b212f5
Pass in the generated asPath instead of a full url (#4622)
Fixes #4620 

On the server and when navigating pages, the `asPath` is the pathname + query + hash visible to the users, not an url. This makes sure that we keep it consistent between hot reloads.
2018-06-18 20:54:05 +02:00
..
index.js Make router properties update when re-rendering (#4541) 2018-06-05 17:10:28 +02:00
router.js Pass in the generated asPath instead of a full url (#4622) 2018-06-18 20:54:05 +02:00
with-router.js Fix typo in withRouter (#3723) 2018-02-07 13:39:23 +05:30