Skip to content

Conversation

@timneutkens
Copy link
Member

@timneutkens timneutkens commented Jun 16, 2018

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.

@timneutkens timneutkens merged commit c4d0b21 into vercel:canary Jun 18, 2018
@timneutkens timneutkens deleted the fix/hmr-aspath branch June 18, 2018 18:54
lependu pushed a commit to lependu/next.js that referenced this pull request Jun 19, 2018
Fixes vercel#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.
@lock lock bot locked as resolved and limited conversation to collaborators Jun 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

protocol+domain+port gets added to asPath after a HMR

2 participants