OptionalforceTriggers the navigation even if the location is the same as the current one.
Note this will also add a new entry to the history unless replace: true
is passed.
OptionalreplaceReplace the entry in the history instead of pushing a new entry
OptionalstateState to save using the History API. This cannot contain any reactive values and some primitives like Symbols are forbidden. More info at https://developer.mozilla.org/en-US/docs/Web/API/History/state
Common options for all navigation methods.