stream-saga/src/index.js
Rodrigo Pedroso 5c7411594f Clean up
2019-06-22 21:57:18 -04:00

24 lines
680 B
JavaScript

import React from 'react'
import ReactDOM from 'react-dom'
// import './index.css'
import { Provider } from 'react-redux'
import store from './store/index'
import App from './components/App.jsx'
import * as serviceWorker from './serviceWorker'
import { addArticle } from "./actions/index"
window.store = store
window.addArticle = addArticle
ReactDOM.render(
<Provider store={store}>
<App />
</Provider>,
document.getElementById('root')
)
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();