Created
March 18, 2018 19:59
-
-
Save Colour-Full/b3b103c9d2db55ebf8add108ece22f80 to your computer and use it in GitHub Desktop.
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 { Provider } from 'react-redux'; | |
// This will be the entry point of our app | |
const App = () => { | |
return ( | |
// We will add our components here | |
<div /> | |
); | |
}; | |
ReactDOM.render( | |
// We need to wrap our app in provider to make use of redux | |
<Provider> | |
<App /> | |
</Provider>, | |
document.querySelector('.react-container')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment