text: import React from "react";
  import ReactDOM from "react-dom";
  import { Provider } from "react-redux";
  import { createStore, applyMiddleware } from "redux";
  import promise from "redux-promise";
  import thunk from "redux-thunk";
  import App from "./components/app";
  import reducers from "./reducers";
  
  const createStoreWithMiddleware = applyMiddleware(promise, thunk)(createStore);
  
  ReactDOM.render(
    <Provider store={createStoreWithMiddleware(reducers)}>
      <App />
    </Provider>,
    document.querySelector(".container")
  );
  