Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/MaxwellCohen/react-vite-test-command.
Something went wrong. Try again.
557 B · 26 lines
JSX
at main
123456789101112131415161718192021222324252627import { StrictMode } from 'react'import { hydrateRoot } from 'react-dom/client'import './index.css'import App from './App.jsx'import { captureConsoleHydration, captureRecoverableError,} from './hydrationReport.js'
const origError = console.errorconsole.error = (...args) => { captureConsoleHydration(args) origError.apply(console, args)}
hydrateRoot( document.getElementById('root'), <StrictMode> <App /> </StrictMode>, { onRecoverableError(error, errorInfo) { captureRecoverableError(error, errorInfo) }, },)