3 ms·
Though the MDN docs are down right now check out the replaceState method. It allows to write over the url (on the same domain) without creating a new history o
by xutopia 15y ago
Though the MDN docs are down right now check out the replaceState method. It allows to write over the url (on the same domain) without creating a new history object. This is a textbook example of where using replaceState would make sense.