Same as for go, but merged into the current route instead deleting all state.
Optionalnav: NavTypeThe navigation type to use. Defaults to undefined, meaning the navigation type is unchanged from the current route,
preventing unwanted page transition animations.
Modify the current route by merging
targetinto it (using merge), pushing a new history entry.This is useful for things like opening modals or side panels, where you want a browser back action to return to the previous state.