Skip to content

Commit febab4e

Browse files
committed
Merge pull request #2058 from AnSavvides/upgrade-guide
Upgrade guide
2 parents 67eddac + f45d7f2 commit febab4e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

UPGRADE_GUIDE.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ React.render(<Router routes={routes}/>, el)
4141
### Locations
4242

4343
Locations are now called histories (that emit locations). You import
44-
them from the `history` package, not react router.
44+
them from the [`history` package](https://github.com/rackt/history), not react router.
4545

4646
```js
4747
// v0.13.x
@@ -74,7 +74,7 @@ Named routes are gone (for now, [see discussion](https://github.com/rackt/react-
7474

7575
Not found really confused people, mistaking not finding resources
7676
from your API for not matching a route. We've removed it completely
77-
since its simple with a `*` path.
77+
since it's simple with a `*` path.
7878

7979
```js
8080
// v0.13.x
@@ -87,7 +87,7 @@ since its simple with a `*` path.
8787
### Redirect route
8888

8989
- no more params
90-
- must have absolute "from" (for now)
90+
- must have absolute `from` (for now)
9191

9292
```js
9393
// v0.13.x
@@ -131,12 +131,14 @@ the link will not check if it's active.
131131
<Link to="/about" activeClassName="active">About</Link>
132132
```
133133

134-
#### Linking to Default/Index routes
134+
#### Linking to Index routes
135135

136136
Because named routes are gone, a link to `/` with an index route at `/`
137137
will always be active. So we've introduced `IndexLink` that is only
138138
active when the index route is active.
139139

140+
**Note:** `DefaultRoute` is gone.
141+
140142
```js
141143
// v0.13.x
142144
// with this route config

0 commit comments

Comments
 (0)