2019-11-16 12:46:19 -08:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
2019-06-11 23:12:03 -07:00
|
|
|
import App from '@/components/App';
|
2019-11-16 12:46:19 -08:00
|
|
|
import './i18n';
|
2019-12-07 11:03:23 -08:00
|
|
|
import { setConfig } from 'react-hot-loader';
|
|
|
|
|
|
|
|
// Prevents page reloads while making component changes which
|
|
|
|
// also avoids triggering constant loading indicators all over
|
|
|
|
// the place in development.
|
|
|
|
//
|
|
|
|
// @see https://github.com/gaearon/react-hot-loader#hook-support
|
|
|
|
setConfig({ reloadHooks: false });
|
2019-06-09 17:29:10 -07:00
|
|
|
|
|
|
|
ReactDOM.render(<App/>, document.getElementById('app'));
|