diff --git a/docs/guides/advanced/NavigatingOutsideOfComponents.md b/docs/guides/advanced/NavigatingOutsideOfComponents.md index a439338f01..fb34315cb9 100644 --- a/docs/guides/advanced/NavigatingOutsideOfComponents.md +++ b/docs/guides/advanced/NavigatingOutsideOfComponents.md @@ -20,7 +20,7 @@ And then import it to render a ``: ```js // index.js import history from './history' -React.render(, el) +render(, el) ``` And now you can use that history object anywhere in your app, maybe in a