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