Skip to content

Commit 27a7be0

Browse files
committed
fix comments of markUpdateLaneFromFiberToRoot
1 parent 2765955 commit 27a7be0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ function markUpdateLaneFromFiberToRoot(
679679
warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber);
680680
}
681681
}
682-
// Walk the parent path to the root and update the child expiration time.
682+
// Walk the parent path to the root and update the child lanes.
683683
let node = sourceFiber;
684684
let parent = sourceFiber.return;
685685
while (parent !== null) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ function markUpdateLaneFromFiberToRoot(
679679
warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber);
680680
}
681681
}
682-
// Walk the parent path to the root and update the child expiration time.
682+
// Walk the parent path to the root and update the child lanes.
683683
let node = sourceFiber;
684684
let parent = sourceFiber.return;
685685
while (parent !== null) {

0 commit comments

Comments
 (0)