From 66416391bcc7f0881442ff0f70c5a28faa26d59d Mon Sep 17 00:00:00 2001 From: Skubie Doo Date: Wed, 26 Apr 2017 16:24:54 -0400 Subject: [PATCH] Remove redundant import Since you talk about `browserHistory` a little later down anyway, it may confuse readers why it's included early on. --- docs/advanced/UsageWithReactRouter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced/UsageWithReactRouter.md b/docs/advanced/UsageWithReactRouter.md index bd26f00e01..692d2681c4 100644 --- a/docs/advanced/UsageWithReactRouter.md +++ b/docs/advanced/UsageWithReactRouter.md @@ -39,7 +39,7 @@ Along this chapter, we will be using the [Todos](https://github.com/reactjs/redu First we will need to import `` and `` from React Router. Here's how to do it: ```js -import { Router, Route, browserHistory } from 'react-router'; +import { Router, Route } from 'react-router'; ``` In a React app, usually you would wrap `` in `` so that when the URL changes, `` will match a branch of its routes, and render their configured components. `` is used to declaratively map routes to your application's component hierarchy. You would declare in `path` the path used in the URL and in `component` the single component to be rendered when the route matches the URL.