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 ee3ceca commit 2e7c732Copy full SHA for 2e7c732
packages/react-devtools-shared/src/backend/fiber/renderer.js
@@ -2904,7 +2904,10 @@ export function attach(
2904
let parentInstance = reconcilingParent;
2905
while (
2906
parentInstance.kind === FILTERED_FIBER_INSTANCE &&
2907
- parentInstance.parent !== null
+ parentInstance.parent !== null &&
2908
+ // We can't move past the parent Suspense node.
2909
+ // The Suspense node holding async info must be a parent of the devtools instance (or the instance itself)
2910
+ parentInstance !== parentSuspenseNode.instance
2911
) {
2912
parentInstance = parentInstance.parent;
2913
}
0 commit comments