content: import React from 'react';
  import ReactDOM from 'react-dom';
  import { Provider } from 'react-redux';
  import { browserHistory } from 'react-router';
  import { syncHistoryWithStore, routerMiddleware } from 'react-router-redux';
  import configureStore from '../shared/configure-store';
  import createRoutes from '../shared/routes';
  
  // Add the reducer to your store on the `routing` key
  const middleware = routerMiddleware(browserHistory);
  const store = configureStore({}, [middleware]);
  
  // Create an enhanced history that syncs navigation events with the store
  const history = syncHistoryWithStore(browserHistory, store);
  // history.listen(location => console.log('location changed to', location));
  
  const routes = createRoutes(history);
  
  ReactDOM.render(
    <Provider store={store}>
      {routes}
    </Provider>,
    document.getElementById('root')
  );
  