From afd8649a4e0c2f0f8cda4495a5240b09f5fd2489 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Tingl=C3=B6f?= Date: Fri, 24 Mar 2017 15:37:32 +0100 Subject: [PATCH] Updated Router import for example (#9233) Updated import in order to be a correct working example as in accordance with the docs --- docs/context.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/context.md b/docs/context.md index c5703d35..cfe86556 100644 --- a/docs/context.md +++ b/docs/context.md @@ -111,7 +111,7 @@ If `contextTypes` is not defined, then `context` will be an empty object. 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): ```javascript -import { Router, Route, Link } from 'react-router-dom'; +import { BrowserRouter as Router, Route, Link } from 'react-router-dom'; const BasicExample = () => (