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