MCPcopy
hub / github.com/facebook/react / getForksAtLevel

Function getForksAtLevel

packages/react-reconciler/src/ReactFiberTreeContext.js:94–97  ·  view source on GitHub ↗
(workInProgress: Fiber)

Source from the content-addressed store, hash-verified

92}
93
94export function getForksAtLevel(workInProgress: Fiber): number {
95 warnIfNotHydrating();
96 return treeForkCount;
97}
98
99export function getTreeId(): string {
100 const overflow = treeContextOverflow;

Callers 2

beginWorkFunction · 0.90

Calls 1

warnIfNotHydratingFunction · 0.85

Tested by

no test coverage detected