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