Skip to content

Commit 9cb3f86

Browse files
committed
Add a comment back
1 parent b1657f1 commit 9cb3f86

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/react-reconciler/src/ReactFiberWorkLoop.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2645,6 +2645,10 @@ function unwindUnitOfWork(unitOfWork: Fiber): void {
26452645
returnFiber.deletions = null;
26462646
}
26472647

2648+
// NOTE: If we re-enable sibling prerendering in some cases, here we
2649+
// would switch to the normal completion path: check if a sibling
2650+
// exists, and if so, begin work on it.
2651+
26482652
// Otherwise, return to the parent
26492653
// $FlowFixMe[incompatible-type] we bail out when we get a null
26502654
incompleteWork = returnFiber;

0 commit comments

Comments
 (0)