Skip to content

Commit 84931da

Browse files
committed
documentation update
1 parent bfda1e7 commit 84931da

File tree

3 files changed

+28
-8
lines changed

3 files changed

+28
-8
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ v0.9.0 - Mon, 06 Oct 2014 19:37:27 GMT
33

44
- [5aae2a8](../../commit/5aae2a8) [added] onChange event to Routes
55
- [ba65269](../../commit/ba65269) [removed] AsyncState
6+
- [4d8c7a1](../../commit/4d8c7a1) [removed] `<Routes onTransitionError>`
7+
- [4d8c7a1](../../commit/4d8c7a1) [removed] `<Routes onAbortedTransition>`
8+
- [ed0cf62](../../commit/ed0cf62) [added] Navigation mixin for components that need to modify the URL
9+
- [ed0cf62](../../commit/ed0cf62) [added] CurrentPath mixin for components that need to know the current URL path
10+
- [ed0cf62](../../commit/ed0cf62) [added] getActiveRoutes, getActiveParams, and getActiveQuery methods to ActiveState mixin
11+
- [ed0cf62](../../commit/ed0cf62) [removed] Awkward updateActiveState callback from ActiveState mixin
12+
- [ed0cf62](../../commit/ed0cf62) [removed] Router.PathState (use Router.CurrentPath instead)
13+
- [ed0cf62](../../commit/ed0cf62) [removed] Router.Transitions (use Router.Navigation instead)
14+
- [ed0cf62](../../commit/ed0cf62) [removed] Router.RouteLookup (because it was useless)
15+
- [ed0cf62](../../commit/ed0cf62) [added] `<Routes scrollBehavior="browser">` alias of "imitateBrowser"
16+
- [ed0cf62](../../commit/ed0cf62) [changed] `<Routes fixedPath>` => `<Routes initialPath>` will be useful for SSR
617

718

819
v0.8.0 - Sat, 04 Oct 2014 05:39:02 GMT

UPGRADE_GUIDE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,23 @@ React.createClass({
171171
});
172172
```
173173

174+
### `<Routes onTransitionError onAbortedTransition/>`
175+
176+
These were removed, there is no upgrade path in `0.9.0` but we will have
177+
something soon. These weren't intended to be used.
178+
179+
### `ActiveState` lifecycle method `updateActiveState` removed
180+
181+
We didn't actually need this. Just use `this.isActive(to, params,
182+
query)`.
183+
184+
### `AsyncState` mixin removed
185+
186+
There is no upgrade path. Just use `comoponentDidMount` to request
187+
state. This was some groundwork for server-side rendering but we are
188+
going a different direction now (using props passed in to route
189+
handlers) so we've removed it.
190+
174191
0.7.x -> 0.8.x
175192
--------------
176193

docs/api/components/Routes.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@ One of:
3939
- `'none'` - doesn't do anything (you should probably do something about
4040
that).
4141

42-
### `onAbortedTransition`
43-
44-
A function called when any transition is aborted.
45-
46-
### `onTransitionError`
47-
48-
A function called when a transition has an error.
49-
5042
#### signature
5143

5244
`function(error)`

0 commit comments

Comments
 (0)