It doesn't redirect the user, it just modifies the [pushState](https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history) to change the URL