text: import React from 'react'
  import ReactDOM from 'react-dom'
  import {createStore,applyMiddleware} from 'redux'
  import {Provider} from 'react-redux'
  import App from './components/App'
  import reducers from './reducers'
  import ReduxPromise from 'redux-promise'
  
  const createStoreWithMiddleware = applyMiddleware(ReduxPromise)(createStore)
  
  ReactDOM.render(
      <Provider store={createStoreWithMiddleware(reducers)}>
      <App />
      </Provider>,
      document.querySelector('#root'))