RouterReplace
Replace has the same effect as RouterPush
but without pushing an entry to the browser's history.
Type parameters
Parameter | Type |
---|---|
TSource | Name |
Parameters
Parameter | Type |
---|---|
source | Url | TSource |
options | RouterReplaceOptions | undefined |
RouterReplaceOptions
ts
{
query?: QuerySource,
hash?: string,
}
Returns
Promise<void>