Created
December 29, 2017 23:07
-
-
Save tech4him1/f6abdb6e8268d4b64ae0a0df9b907331 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 {hot} from 'react-hot-loader'; | |
export default hot(module)( | |
<Provider store={store}> | |
<Router> | |
<div>This is a test.</div> | |
</Router> | |
</Provider> | |
); |
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 {render} from 'react-dom'; | |
import App from './app.js'; | |
render( | |
<App/>, | |
document.getElementById('root') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment