Updated Router import for example (#9233)
Updated import in order to be a correct working example as in accordance with the docs
Johan Tinglöf committed
Mar 24, 2017 at 15:37 UTC
38d8f3ee6b4493fb1cce78e2a4e54fcc87724703
1 file changed
+1
-1
docs/docs/context.md
+1
-1
@@ -111,7 +111,7 @@ If `contextTypes` is not defined, then `context` will be an empty object.
111
Context can also let you build an API where parents and children communicate. For example, one library that works this way is [React Router V4](https://reacttraining.com/react-router):
112
113
```javascript
114
-import { Router, Route, Link } from 'react-router-dom';
114
+import { BrowserRouter as Router, Route, Link } from 'react-router-dom';
115
116
const BasicExample = () => (
117
<Router>