overleaf/services/web/frontend/js/pages/ide.tsx
Alf Eaton 345f51bedb [ide-react] Improve initial loading behaviour (#15916)
* Defer script loading
* Only mount IdePage once everything has connected

GitOrigin-RevId: 32f16214f26ac6a6d71a9dd332b3c35b8b82deae
2023-11-28 09:04:11 +00:00

6 lines
366 B
TypeScript

import '../utils/webpack-public-path' // configure dynamically loaded assets (via webpack) to be downloaded from CDN
import '../infrastructure/error-reporter' // set up error reporting, including Sentry
import ReactDOM from 'react-dom'
import IdeRoot from '@/features/ide-react/components/ide-root'
ReactDOM.render(<IdeRoot />, document.getElementById('ide-root'))