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