📜  推送和替换有什么区别 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:46.307000             🧑  作者: Mango

代码示例1
History Push The user can go forward and backward in the browser and the 
url will change. It works like a programmatic link with no affect on 
current url.

Location Replace The link of the page is set to the new one, but the user 
can't go between the replaced.