Skip to content

RouterReplace

Replace has the same effect as RouterPush but without pushing an entry to the browser's history.

Type parameters

ParameterType
TSourceName

Parameters

ParameterType
sourceUrl | TSource
optionsRouterReplaceOptions | undefined

RouterReplaceOptions

ts
{
  query?: Record<string, string>,
}

Returns

Promise<void>