title: BrowserRouter v4 - 'BrowserRouter' is not defined react/jsx-no-undef
body: <p>I want to use BrowserRouter in my react app. I have nested my top most component in the BrowserRouter tags as shown:</p>
  
  <pre><code>import React from 'react';
  import ReactDOM from 'react-dom';
  import { BrowserRouter as Router, Route, Link } from 'react-router-dom';
  import App from './App';
  import registerServiceWorker from './registerServiceWorker';
  
  
  ReactDOM.render((
      &lt;BrowserRouter&gt;
          &lt;App/&gt;
      &lt;/BrowserRouter&gt;
  ), document.getElementById('root')); 
  
  registerServiceWorker();
  </code></pre>
  
  <p>And I am getting the following error:</p>
  
  <pre><code>./src/index.js
  Line 9:  'BrowserRouter' is not defined  react/jsx-no-undef
  </code></pre>
  
  <p>I have installed react-router-dom and the dependancy is in my package.json file. So why am I getting this? </p>