text: import React from 'react';
  import ReactDOM from 'react-dom';
  import './index.css';
  import App from './App';
  import registerServiceWorker from './registerServiceWorker';
  import reducer from './store/reducer';
  import { Provider } from 'react-redux';
  import { createStore } from 'redux';
  
  //render App component on the root element
  const store = createStore(reducer, window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__());
  
  ReactDOM.render(<Provider store={store}><App /></Provider>, document.getElementById('root'));
  
  
  registerServiceWorker();
  