content: import React from 'react';
  import ReactDOM from 'react-dom';
  import { Provider } from 'react-redux';
  import promise from 'redux-promise';
  import logger from 'redux-logger';
  import thunk from 'redux-thunk';
  import { createStore, applyMiddleware } from 'redux';
  
  import App from './components/App';
  import reducers from './reducers';
  
  const createStoreWithMiddleware = applyMiddleware(promise, thunk, logger)(createStore);
  
  export let store = createStoreWithMiddleware(reducers)
  
  ReactDOM.render(
    <Provider store={store}>
      <App />
    </Provider>
    , document.querySelector('.main-container'));
  