import React from "react";
import ReactDOM from "react-dom";
import App from './components/App'

ReactDOM.render(<App />, document.getElementById("root"));

import React from "react";
import ReactDOM from "react-dom";
import App from './components/App'
import {Provider} from 'react-redux'
import {createStore,applyMiddleware} from 'react'

const store = createStore(()=>[],{},applyMiddleware())

ReactDOM.render(
<Provider store={store}><App /></Provider>, 
document.getElementById("root"));

store and provider added from redux