Updates the current URL with the given URLSearchParams.
URLSearchParams
Pushes a new history state and dispatches a popstate event.
popstate
Optional
if set to true does not dispatch a popstate event.
true
Updates the current URL with the given
URLSearchParams
.Pushes a new history state and dispatches a
popstate
event.