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

index.tsx

6 lines197 Bytes

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