content: /**
   * Created by lejoss on 7/13/16.
   */
  import 'babel-polyfill' // for the things babel cant transpile
  import React from 'react'
  import { render } from 'react-dom'
  import configureStore from './store/configureStore'
  import {Provider} from 'react-redux'
  import { Router, browserHistory } from 'react-router'
  import { syncHistoryWithStore } from 'react-router-redux'
  import routes from './routes'
  import {loadUsers} from './actions/userActions'
  import ReduxToastr from 'react-redux-toastr'
  import  './styles/main.css'
  
  const store = configureStore()
  store.dispatch(loadUsers())
  
  // sincronizamos el browserHistory de React Router con el Store
  const history = syncHistoryWithStore(browserHistory, store)
  
  render(
      <Provider store={store}>
          <div>
              <Router history={history} routes={routes} />
              <ReduxToastr
                  timeOut={4000}
                  newestOnTop={false}
                  position="bottom-left"/>
          </div>
      </Provider>,
      document.getElementById('app')
  
  )