/* @flow */
import './vendor';
import ReactDOM from 'react-dom';
import routes from './routes';

setTimeout(() => {
  ReactDOM.render(routes, document.querySelector('#webedit'));
}, 500);

/* @flow */
import './vendor';
import ReactDOM from 'react-dom';
import routes from './routes';

document.addEventListener('DOMContentLoaded', () => {
  ReactDOM.render(routes, document.querySelector('#webedit'));	
});

Use a dom ready event instead of timeout speculations
Use a dom ready event instead of timeout speculations
