We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33b1a4e commit 85f498cCopy full SHA for 85f498c
docs/contextual.md
@@ -10,7 +10,7 @@ unmatched part of the parent router.
10
return (
11
<Locations>
12
<Location path="/" handler={MainPage} />
13
- <Location path="/photos/*" handler={Photos} />
+ <Location path="/photos(/*)" handler={Photos} />
14
</Locations>
15
)
16
}
@@ -31,7 +31,7 @@ unmatched part of the parent router.
31
Now the application would have the following routes:
32
33
- `/` dispatches to a `MainPage`
34
- - `/photos/` dispatches to a `AlbumPage`
+ - `/photos/` or `/photos` dispatches to a `AlbumPage`
35
- `/photos/:slug` dispatches to a `PhotoPage`
36
37
If you use `Link` components inside a contextual router, its `href` would be
0 commit comments