content: import React from 'react'
  import ReactDOM from 'react-dom'
  import {browserHistory} from 'react-router/es6'
  import {syncHistoryWithStore} from 'react-router-redux'
  import RedBox from 'redbox-react'
  import Root from './containers/root.dev'
  import configureStore from './store/configureStore.dev'
  
  const store = configureStore()
  const history = syncHistoryWithStore(browserHistory, store)
  
  const renderRoot = () => {
    ReactDOM.render(
      <Root store={store} history={history} />,
      document.getElementById('root')
    )
  }
  
  const renderError = error => {
    ReactDOM.render(<RedBox error={error} />, document.getElementById('root'))
  }
  
  const hotRender = () => {
    try {
      renderRoot()
    } catch (error) {
      renderError(error)
    }
  }
  
  export const render = () => {
    module.hot.accept('./containers/root.dev', () => {
      setTimeout(hotRender)
    })
    hotRender()
  }
  