Skip to content

Commit 6cdc359

Browse files
authored
fix comments of markUpdateLaneFromFiberToRoot (#20546)
1 parent 47dd9f4 commit 6cdc359

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-reconciler/src/ReactFiberWorkLoop.new.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ function markUpdateLaneFromFiberToRoot(
645645
warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber);
646646
}
647647
}
648-
// Walk the parent path to the root and update the child expiration time.
648+
// Walk the parent path to the root and update the child lanes.
649649
let node = sourceFiber;
650650
let parent = sourceFiber.return;
651651
while (parent !== null) {

packages/react-reconciler/src/ReactFiberWorkLoop.old.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ function markUpdateLaneFromFiberToRoot(
645645
warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber);
646646
}
647647
}
648-
// Walk the parent path to the root and update the child expiration time.
648+
// Walk the parent path to the root and update the child lanes.
649649
let node = sourceFiber;
650650
let parent = sourceFiber.return;
651651
while (parent !== null) {

0 commit comments

Comments
 (0)