Skip to content

Commit 1a81557

Browse files
committed
Clarify catch-all route usage
1 parent cc63adb commit 1a81557

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

upgrade-guides/v1.0.0.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Named routes are gone (for now, [see discussion](https://github.com/rackt/react-
8787

8888
### NotFound route
8989

90-
Not found really confused people, mistaking not finding resources
90+
"Not found" really confused people, mistaking not finding resources
9191
from your API for not matching a route. We've removed it completely
9292
since it's simple with a `*` path.
9393

@@ -99,6 +99,8 @@ since it's simple with a `*` path.
9999
<Route path="*" component={NoMatch}/>
100100
```
101101

102+
As this catch-all route will match everything, it must be the last route specified in the child route array.
103+
102104
### Redirect route
103105

104106
```js

0 commit comments

Comments
 (0)