Created
March 31, 2018 10:27
-
-
Save lalitmee/1c46b4464abf0f854167818527b6ff47 to your computer and use it in GitHub Desktop.
This file contains 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 { render } from 'react-dom'; | |
import { BrowserRouter } from 'react-router-dom'; | |
import App from './app'; | |
const el = document.getElementById('app'); | |
render( | |
<BrowserRouter> | |
<App /> | |
</BrowserRouter>, | |
el | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment