import 'core-js/stable';
import React from 'react';
import {render} from 'react-dom';

document.addEventListener(
  'DOMContentLoaded',
  (): void => {
    import('./frontend/App').then(
      ({default: App}): void => {
        render(<App />, document.querySelector('main[id="app"]'));
      }
    );
  }
);
