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
George Pantazis 56ad5121a1 Use as instead of url to determine URL newness (#4153)
Currently, using `as` will cause the router to think the URL is not changing in the case where you're re-rendering the same page with a different route. This would most likely be an issue for custom servers
which are using shallow routing.

This should be an invisible change for non-custom-server users, since `as` is defaulted to `url` if not set.

This should resolve #3065.
2018-09-03 15:26:34 +02:00
..
index.js Add warning for broken popstate (#5000) 2018-08-24 12:30:27 +02:00
router.js Use as instead of url to determine URL newness (#4153) 2018-09-03 15:26:34 +02:00
with-router.js Fix typo in withRouter (#3723) 2018-02-07 13:39:23 +05:30