Skip to content

Commit 8c5be12

Browse files
committed
typos and stuff
1 parent f0ea1cb commit 8c5be12

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

UPGRADE_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Also `.` is no longer matched in dynamic segments.
5151
<Route path="/file/:filename" />
5252

5353
<!-- 0.6.x -->
54-
<Route path="/file/:filename.:ext?" />
54+
<Route path="/file/:filename.?:ext?" />
5555

5656
<!--
5757
or for a looser match to allow for multiple `.` note that the data

docs/api/components/NotFoundRoute.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
API: `NotFoundRoute` (component)
22
===============================
33

4-
When a parent's url partially matches, but none of the children do, a
4+
When a parent's URL partially matches, but none of the children do, a
55
`NotFoundRoute` will be matched and its handler rendered at any level of
66
your route/view hierarchy.
77

@@ -29,7 +29,8 @@ Example
2929
</Routes>
3030
```
3131

32-
The last `NotFoundRoute` will render inside the `App`, the first
32+
The last `NotFoundRoute` will render inside the `App`, the first will
33+
rendering inside of `Course`.
3334

3435
[routeProps]:/docs/api/components/Route.md#props
3536

docs/guides/path-matching.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ parsed and available by name in your route handler on
3737
Splats
3838
------
3939

40-
Splats are defined with `*` and are available in your route handler as
40+
Splats are defined with `*` and will non-greedily match anything. The
41+
value will be available in your route handler as
4142
`this.props.params.splat`. If there are multiple, you'll get an array of
4243
values.
4344

4445
Question Mark
4546
-------------
4647

47-
Question marks will optionally match the preceeding segment
48-
non-greedily.
48+
Question marks will optionally match the preceeding segment.
4949

5050
Examples
5151
--------

0 commit comments

Comments
 (0)