Answer the question
In order to leave comments, you need to log in
What is the difference between history.replace and history.push?
History has replace and push methods as if they do the same thing.
what is the difference between history.replace and history.push ?
Answer the question
In order to leave comments, you need to log in
history.replace
- replaces the entry in the history.
history.push
- adds a new one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question