Created
August 15, 2017 09:28
-
-
Save dminuoso/404173a0acbb069b522a2c810da0c771 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
const render = (Component) => { | |
ReactDOM.render( | |
<Provider store={store}> | |
<Router history={history}> | |
<Component /> | |
</Router> | |
</Provider>, | |
document.getElementById('app') | |
); | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment