Skip to content

Commit 3071d73

Browse files
author
Dean Shi
committed
Update ReactDOM to render
1 parent 695bb67 commit 3071d73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/advanced/NavigatingOutsideOfComponents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ And then import it to render a `<Router>`:
2020
```js
2121
// index.js
2222
import history from './history'
23-
React.render(<Router history={history}/>, el)
23+
render(<Router history={history}/>, el)
2424
```
2525

2626
And now you can use that history object anywhere in your app, maybe in a

0 commit comments

Comments
 (0)