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

index.tsx

6 lines225 Bytes

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