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

index.tsx

7 lines198 Bytes

1import { render } from 'preact'
2​
3import App from './App'
4​
5const rootElement = document.getElementById('root')
6if (!rootElement) throw new Error('Missing #root element')
7render(<App />, rootElement)