Skip to content

Commit 18a96dc

Browse files
committed
Add a comment back
1 parent f2f0589 commit 18a96dc

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
@@ -2577,6 +2577,10 @@ function unwindUnitOfWork(unitOfWork: Fiber): void {
25772577
returnFiber.deletions = null;
25782578
}
25792579

2580+
// NOTE: If we re-enable sibling prerendering in some cases, here we
2581+
// would switch to the normal completion path: check if a sibling
2582+
// exists, and if so, begin work on it.
2583+
25802584
// Otherwise, return to the parent
25812585
// $FlowFixMe[incompatible-type] we bail out when we get a null
25822586
incompleteWork = returnFiber;

0 commit comments

Comments
 (0)