2019-11-16 20:46:19 +00:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
2019-06-12 06:12:03 +00:00
|
|
|
import App from '@/components/App';
|
2019-12-07 19:03:23 +00:00
|
|
|
import { setConfig } from 'react-hot-loader';
|
|
|
|
|
2022-06-11 18:04:09 +00:00
|
|
|
// Enable language support.
|
|
|
|
import './i18n';
|
|
|
|
|
2019-12-07 19:03:23 +00:00
|
|
|
// 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-10 00:29:10 +00:00
|
|
|
|
|
|
|
ReactDOM.render(<App/>, document.getElementById('app'));
|