Modify the current route by merging target into it (using merge), pushing a new history entry.
target
This is useful for things like opening modals or side panels, where you want a browser back action to return to the previous state.
Same as for go, but merged into the current route instead deleting all state.
Modify the current route by merging
target
into 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.