A RouteConfig that matches against a given URLPattern
While URLPattern can match against protocols, hostnames, and ports,
routes will only be checked for matches if they're part of the current
origin. This means that the pattern is limited to checking pathname and
search.
A RouteConfig that matches against a given
URLPatternWhile
URLPatterncan match against protocols, hostnames, and ports, routes will only be checked for matches if they're part of the current origin. This means that the pattern is limited to checkingpathnameandsearch.