@@ -41,7 +41,7 @@ React.render(<Router routes={routes}/>, el)
41
41
### Locations
42
42
43
43
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.
45
45
46
46
``` js
47
47
// v0.13.x
@@ -74,7 +74,7 @@ Named routes are gone (for now, [see discussion](https://github.com/rackt/react-
74
74
75
75
Not found really confused people, mistaking not finding resources
76
76
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.
78
78
79
79
``` js
80
80
// v0.13.x
@@ -87,7 +87,7 @@ since its simple with a `*` path.
87
87
### Redirect route
88
88
89
89
- no more params
90
- - must have absolute " from" (for now)
90
+ - must have absolute ` from ` (for now)
91
91
92
92
``` js
93
93
// v0.13.x
@@ -131,12 +131,14 @@ the link will not check if it's active.
131
131
< Link to= " /about" activeClassName= " active" > About< / Link>
132
132
```
133
133
134
- #### Linking to Default/ Index routes
134
+ #### Linking to Index routes
135
135
136
136
Because named routes are gone, a link to ` / ` with an index route at ` / `
137
137
will always be active. So we've introduced ` IndexLink ` that is only
138
138
active when the index route is active.
139
139
140
+ ** Note:** ` DefaultRoute ` is gone.
141
+
140
142
``` js
141
143
// v0.13.x
142
144
// with this route config
0 commit comments