Created
March 31, 2019 12:15
-
-
Save madan712/3ac687ce9df4368ccff170ffa0e39ace to your computer and use it in GitHub Desktop.
Index.js - Simple React + Redux example
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 * as serviceWorker from './serviceWorker'; | |
import {Provider} from 'react-redux'; | |
import AppStore from "./AppStore"; | |
ReactDOM.render(<Provider store={AppStore}><App/></Provider>, document.getElementById('root')); | |
serviceWorker.unregister(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment