Skip to contentOpen History to see the last commit
index.tsx
7 lines226 Bytes
1import ReactDOM from 'react-dom/client' 5const rootElement = document.getElementById('root') 6if (!rootElement) throw new Error('Missing #root element') 7ReactDOM.createRoot(rootElement).render(<App />)