tz / src /main.tsx
Surf
质检:387张真人IP封面、浏览器下载回归与可复现构建(推送 #23)
4f7ed0a
Raw History Blame Contribute Delete
401 Bytes
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App'
const root = document.getElementById('root')
if (!root) throw new Error('找不到应用根节点')
createRoot(root).render(
<StrictMode>
<App />
</StrictMode>,
)
// Signal the static HTML boot guard only after the real app has been mounted.
Object.assign(window, { __reactOk: true })