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 11604af commit 35b1481Copy full SHA for 35b1481
packages/react-devtools-shared/src/backend/fiber/renderer.js
@@ -3757,10 +3757,12 @@ export function attach(
3757
fiberInstance.firstChild = null;
3758
fiberInstance.suspendedBy = null;
3759
3760
- if (fiberInstance.suspenseNode !== null) {
3761
- reconcilingParentSuspenseNode = fiberInstance.suspenseNode;
+ const suspenseNode = fiberInstance.suspenseNode;
+ if (suspenseNode !== null) {
3762
+ reconcilingParentSuspenseNode = suspenseNode;
3763
previouslyReconciledSiblingSuspenseNode = null;
- remainingReconcilingChildrenSuspenseNodes = null;
3764
+ remainingReconcilingChildrenSuspenseNodes = suspenseNode.firstChild;
3765
+ suspenseNode.firstChild = null;
3766
}
3767
3768
try {
0 commit comments