We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cfb221 commit b485f7cCopy full SHA for b485f7c
packages/react-devtools-shared/src/backend/fiber/renderer.js
@@ -2862,7 +2862,10 @@ export function attach(
2862
let parentInstance = reconcilingParent;
2863
while (
2864
parentInstance.kind === FILTERED_FIBER_INSTANCE &&
2865
- parentInstance.parent !== null
+ parentInstance.parent !== null &&
2866
+ // We can't move past the parent Suspense node.
2867
+ // The Suspense node holding async info must be a parent of the devtools instance (or the instance itself)
2868
+ parentInstance !== parentSuspenseNode.instance
2869
) {
2870
parentInstance = parentInstance.parent;
2871
}
0 commit comments