Created
August 29, 2018 08:29
-
-
Save gladchinda/f1fe4fcdbfe660fe1b29f205f9b6b3ec 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 ReactDOM from 'react-dom'; | |
import { Provider } from 'react-redux'; | |
import createStore from './createReduxStore'; | |
const store = createStore(); | |
const rootElement = document.getElementById('root'); | |
ReactDOM.render(( | |
<Provider store={store}> | |
<AppRootComponent /> | |
</Provider> | |
), rootElement); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment