1101 switch (tag) {
1102 case DehydratedSuspenseComponent:
1103▶ // TODO: ideally we would show dehydrated Suspense immediately.
1104 // However, it has some special behavior (like disconnecting
1105 // an alternate and turning into real Suspense) which breaks DevTools.
· · ·
1278 }
1279
1280▶ // TODO: Consider using a WeakMap instead. The only thing where that doesn't work
1281 // is React Native Paper which tracks tags but that support is eventually going away
1282 // and can use the old findFiberByHostInstance strategy.
· · ·
1579 const instance = suspense.instance;
1580 const isSuspended =
1581▶ // TODO: Track if other SuspenseNode like SuspenseList rows are suspended.
1582 (instance.kind === FIBER_INSTANCE ||
1583 instance.kind === FILTERED_FIBER_INSTANCE) &&
· · ·
1606 function measureHostInstance(instance: HostInstance): null | Array<Rect> {
1607 // Feature detect measurement capabilities of this environment.
1608▶ // TODO: Consider making this capability injected by the ReactRenderer.
1609 if (typeof instance !== 'object' || instance === null) {
1610 return null;
· · ·
2126 const fiberInstance = suspenseNode.instance;
2127 if (fiberInstance.kind !== FIBER_INSTANCE) {
2128▶ // TODO: Resizes of filtered Suspense nodes are currently dropped.
2129 return;
2130 }
+ 28 more matches in this file