Created
November 13, 2019 03:40
-
-
Save Giagnus64/e4d37592e4ce3a7fdde9fcebc16453c7 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 './index.css'; | |
| import App from './App'; | |
| import { Provider } from 'react-redux'; | |
| import { createStore } from 'redux'; | |
| import rootReducer from './reducer' | |
| const store = createStore(rootReducer) | |
| ReactDOM.render( | |
| <Provider store={store}> | |
| <App /> | |
| </Provider>, | |
| document.getElementById("root") | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment