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

Function getSuspenseFallbackChild

packages/react-reconciler/src/ReactFiberScope.js:27–29  ·  view source on GitHub ↗
(fiber: Fiber)

Source from the content-addressed store, hash-verified

25import {enableScopeAPI} from 'shared/ReactFeatureFlags';
26
27function getSuspenseFallbackChild(fiber: Fiber): Fiber | null {
28 return ((((fiber.child: any): Fiber).sibling: any): Fiber).child;
29}
30
31const emptyObject = {};
32

Callers 3

collectScopedNodesFunction · 0.85
collectFirstScopedNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected