1076 switch (tag) {
1077 case DehydratedSuspenseComponent:
1078▶ // TODO: ideally we would show dehydrated Suspense immediately.
1079 // However, it has some special behavior (like disconnecting
1080 // an alternate and turning into real Suspense) which breaks DevTools.
· · ·
1253 }
1254
1255▶ // TODO: Consider using a WeakMap instead. The only thing where that doesn't work
1256 // is React Native Paper which tracks tags but that support is eventually going away
1257 // and can use the old findFiberByHostInstance strategy.
· · ·
1554 const instance = suspense.instance;
1555 const isSuspended =
1556▶ // TODO: Track if other SuspenseNode like SuspenseList rows are suspended.
1557 (instance.kind === FIBER_INSTANCE ||
1558 instance.kind === FILTERED_FIBER_INSTANCE) &&
· · ·
1581 function measureHostInstance(instance: HostInstance): null | Array<Rect> {
1582 // Feature detect measurement capabilities of this environment.
1583▶ // TODO: Consider making this capability injected by the ReactRenderer.
1584 if (typeof instance !== 'object' || instance === null) {
1585 return null;
· · ·
2098 const fiberInstance = suspenseNode.instance;
2099 if (fiberInstance.kind !== FIBER_INSTANCE) {
2100▶ // TODO: Resizes of filtered Suspense nodes are currently dropped.
2101 return;
2102 }
+ 28 more matches in this file