Skip to content

Commit db5cf06

Browse files
committed
updated upgrade guide
1 parent 6386f85 commit db5cf06

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

Diff for: UPGRADE_GUIDE.md

+17-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,23 @@ Upgrade Guide
22
=============
33

44
To see discussion around these API changes, please refer to the
5-
[changelog](/CHANGELOG.md) and git log the commits to find the issues
6-
they refer to.
5+
[changelog](/CHANGELOG.md) and visit the commits and issues they
6+
reference.
7+
8+
0.6.x -> 0.7.x
9+
--------------
10+
11+
The package root modules were removed. Please import modules from the
12+
`Router` default export.
13+
14+
```js
15+
// 0.6.x
16+
var Link = require('react-router/Link');
17+
18+
// 0.7.x
19+
var Router = require('react-router');
20+
var Link = Router.Link;
21+
```
722

823
0.5.x -> 0.6.x
924
--------------

0 commit comments

Comments
 (0)