What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-27 00:06:11
what the difference between push and replace
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 r... Add solution
Best helpers
Chris
+5
Zbw
+5
Hey
+5
Pro24
+5
Ecir Hana
+5
Azeem
+5
Nick Heidke
+5
Eestudent
+5
Dune
+5
Sam Figueroa
+5
Ryan Turner
+5
Tnff
+5
Pukku
+5
Hx1997
+5