Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

index.tsx

7 lines226 Bytes

1import ReactDOM from 'react-dom/client'
2​
3import App from './App'
4​
5const rootElement = document.getElementById('root')
6if (!rootElement) throw new Error('Missing #root element')
7ReactDOM.createRoot(rootElement).render(<App />)