The big difference is, that while pushState will create a new entry in the browser’s history, replaceState will onle replace the current state . As a side effect of this, using the replaceState method will change the URL in the address bar, without creating a new history entry.22 Nis 2020