content: import React from 'react'
  import ReactDOM from 'react-dom'
  import { Provider } from 'react-redux'
  import { createStore } from 'redux'
  import reducer from './reducer'
  
  const dest = document.getElementById('content')
  const store =
    (window.devToolsExtension ? window.devToolsExtension()(createStore) : createStore)(reducer)
  
  let render = () => {
    const App = require('./App').default
    ReactDOM.render(
      <Provider store={store}>
        <App/>
      </Provider>,
      dest
    )
  }
  
  if (module.hot) {
    // Support hot reloading of components
    // and display an overlay for runtime errors
    const renderApp = render
    const renderError = (error) => {
      const RedBox = require('redbox-react')
      ReactDOM.render(
        <RedBox error={error}/>,
        dest
      )
    }
    render = () => {
      try {
        renderApp()
      } catch (error) {
        renderError(error)
      }
    }
    module.hot.accept('./App', () => setTimeout(render))
  }
  
  render()
  