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

main.tsx

11 lines255 Bytes

1import ReactDOM from 'react-dom/client'
2​
3import './styles.css'
4​
5import RootComponent from './index'
6​
7const rootElement = document.getElementById('root')
8if (rootElement) {
9 const root = ReactDOM.createRoot(rootElement)
10 root.render(<RootComponent />)