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?: QuerySource,
  hash?: string,
}

QuerySource

Returns

Promise<void>