Themes

Router/Utils/routeHasChanged
routeHasChanged

Determindes if the params of two routes differ.

(next: MatchResults prev: MatchResults ) => boolean

MatchResults

Name
Description
Type
isExact

If the match was done with exact matching.

boolean
params

The params that were extracted from the url.

Record<string, string>
path

The path matcher this was matched against.

Path
url

The url that was passed to the matcher.

string

Path

Path = string | RegExp | string | RegExp[]