Skip to content

Commit ae59dec

Browse files
committed
more docs stuff
1 parent 3dd0cdf commit ae59dec

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ We support all browsers and environments where React runs.
3434

3535
Using [npm](https://www.npmjs.com/):
3636

37-
$ npm install [email protected] react-router@latest
38-
39-
Note that you need to also install the [history](https://www.npmjs.com/package/history) package since it is a peer dependency of React Router and won't automatically be installed for you in npm 3+.
37+
$ npm install react-router
4038

4139
Then with a module bundler like [webpack](https://webpack.github.io/) that supports either CommonJS or ES2015 modules, use as you would anything else:
4240

upgrade-guides/v2.0.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ Additionally, since `context` is now documented, all mixins are deprecated as th
4444
Access `location` from `this.props.location` of your route component. If
4545
you'd like to get it deeper in the tree, you can use whatever
4646
conventions your app has for getting props from high down low. One
47-
option is to put it context yourself:
47+
option is to provide it on context yourself:
4848

4949
```js
50-
// v1.0.x
50+
// v2.0.x
5151
const RouteComponent = React.createClass({
5252
childContextTypes: {
5353
location: React.PropTypes.object

0 commit comments

Comments
 (0)