// In v2/3 you did this: import ReactDOM from 'react-dom' import { Router, browserHistory, Route } from 'react-router' ReactDOM.render( ) // Those components above were fake components. They didn't // really render anything. Instead, we just stripped their props and // used them as config for the router. In v4, this has changed. // In v4, your components actually render to the page! We split // out the logic that decides which one to render into the // component. Also, we now provide a component you can // use to configure history management declaratively. import ReactDOM from 'react-dom' import { BrowserRouter as Router, Route, Switch } from 'react-router-dom' ReactDOM.render( ) // There's LOTS more to know (and a lot more advantages to doing things // this way) but that should get you started! :)