pr_01m47d15m3e54sn21z27rpy5n9/apps/web/app/entry.client.tsx
Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Fix a hydration mismatch in output that starts with a blank line | 1 | import { StrictMode, startTransition } from "react"; |
| 2 | import { hydrateRoot } from "react-dom/client"; | |
| 3 | import { HydratedRouter } from "react-router/dom"; | |
| 4 | ||
| 5 | startTransition(() => { | |
| 6 | hydrateRoot( | |
| 7 | document, | |
| 8 | <StrictMode> | |
| 9 | <HydratedRouter /> | |
| 10 | </StrictMode>, | |
| 11 | { | |
| 12 | // React recovers from a page the server rendered differently by | |
| 13 | // rendering it again here; say where, so it can be fixed. | |
| 14 | onRecoverableError(error, info) { | |
| 15 | console.error("g1t: recovered from", error, info.componentStack); | |
| 16 | }, | |
| 17 | }, | |
| 18 | ); | |
| 19 | }); |