Test <Route>
components by setting the path
, exact
and strict
props. The <Route>
will be matched against the current URL's pathname
.
To learn more about valid path
strings, read the path-to-regexp
documentation.
To change URLs, type in the Pathname text input below and the address bar
will be automatically updated. The URL's pathname will then be compared
against the current <Route>
configuration. When a <Route>
matches the current location, its match
object
will be displayed below.
View the source on GitHub.