text: import React from 'react';
  import ReactDOM from 'react-dom';
  import App from './App';
  import { applyMiddleware, compose, createStore } from 'redux';
  import { Provider } from 'react-redux';
  import { Router } from 'react-router-dom';
  import thunk from 'redux-thunk';
  import reducer from './reducers';
  import registerServiceWorker from './registerServiceWorker';
  import history from './history'
  import './index.css';
  
  const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
  
  const store = createStore(reducer, composeEnhancers(applyMiddleware(thunk)));
  
  ReactDOM.render(
      <Provider store={store}>
          <Router history={history}>
              <App/>
          </Router>
      </Provider>, document.getElementById('root'));
  
  registerServiceWorker();
  