MCPcopy Create free account
hub / github.com/bvaughn/react-window / hydration.test.tsx

File hydration.test.tsx

lib/hydration.test.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { act } from "@testing-library/react";
2import { useEffect, type ReactElement, type ReactNode } from "react";
3import { hydrateRoot, type Root } from "react-dom/client";
4import { renderToString } from "react-dom/server";

Callers

nothing calls this directly

Calls 6

setDefaultElementSizeFunction · 0.90
setElementSizeFunctionFunction · 0.90
serverRenderAndHydrateFunction · 0.85
getRowsFunction · 0.85
getFirstRowFunction · 0.85
waitForAnimationFramesFunction · 0.70

Tested by

no test coverage detected