import 'babel-core/polyfill';
import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import { ReduxRouter } from 'redux-router';
import App from './containers/App';
import configureStore from './store/configureStore';
let injectTapEventPlugin = require('react-tap-event-plugin');

//Set the initial state and initialize the store with the initial state
const initialState = {};
const store = configureStore(initialState);

// This is a shim for material-ui tap handling
injectTapEventPlugin();

render(
  <Provider store={store}>
  	<div>
	  	<ReduxRouter />
    </div>
  </Provider>,
  document.getElementById('root')
);

import 'babel-core/polyfill';
import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import { ReduxRouter } from 'redux-router';
import App from './containers/App';
import configureStore from './store/configureStore';
let injectTapEventPlugin = require('react-tap-event-plugin');

//Set the initial state and initialize the store with the initial state
const initialState = window.__INITIAL_STATE__;
const store = configureStore(initialState);

// This is a shim for material-ui tap handling
injectTapEventPlugin();

render(
  <Provider store={store}>
  	<div>
	  	<ReduxRouter />
    </div>
  </Provider>,
  document.getElementById('root')
);

Set initial state to value injected into window
Set initial state to value injected into window
