Answer the question
In order to leave comments, you need to log in
How to fix page reload bug when using history.pushState API?
Hello.
pushState writes a link to the address bar and when I reload the page, the browser follows a non-existent link. How to avoid this, how to change the position in the browser history before the moment when the browser starts reloading the page?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question