jargon

Frontend & browser·Routing and navigation

you changed the URL with `pushState` and nothing was fetched, because that is all it does.

History API

Also calledpushState, replaceState, popstate

The interface for adding and replacing entries in the session history without a navigation, plus the `popstate` event fired when the user moves through them. `pushState` adds an entry, `replaceState` overwrites the current one — the difference decides what the back button does, which is why filter changes should replace and screen changes should push. It gives no notification when your own code pushes, so a router has to track that itself.

Commonly confused with