Skip to content

Commit

Permalink
Remove old RR examples
Browse files Browse the repository at this point in the history
  • Loading branch information
timdorr committed Jul 10, 2016
1 parent 954b456 commit 313f632
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,7 @@ ReactDOM.render(
)
```

##### React Router 0.13

```js
Router.run(routes, Router.HistoryLocation, (Handler, routerState) => { // note "routerState" here
ReactDOM.render(
<Provider store={store}>
{/* note "routerState" here: important to pass it down */}
<Handler routerState={routerState} />
</Provider>,
document.getElementById('root')
)
})
```

##### React Router 1.0

```js
ReactDOM.render(
<Provider store={store}>
<Router history={history}>...</Router>
</Provider>,
targetEl
)
```

##### React Router 2.0
##### React Router

```js
ReactDOM.render(
Expand Down

0 comments on commit 313f632

Please sign in to comment.