Created
August 14, 2017 14:09
-
-
Save DZuz14/82fc6b3568925580957447207fd6a24f to your computer and use it in GitHub Desktop.
New React Router 4 Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import ReactDOM from 'react-dom' | |
import { BrowserRouter } from 'react-router-dom' | |
import App from './components/App' | |
ReactDOM.render ( | |
<BrowserRouter> | |
<App /> | |
</BrowserRouter>, | |
document.querySelector('.main') | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment