Skip to content

Commit

Permalink
fix comments of markUpdateLaneFromFiberToRoot
Browse files Browse the repository at this point in the history
  • Loading branch information
neroneroffy committed Jan 5, 2021
1 parent 2765955 commit 27a7be0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberWorkLoop.new.js
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ function markUpdateLaneFromFiberToRoot(
warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber);
}
}
// Walk the parent path to the root and update the child expiration time.
// Walk the parent path to the root and update the child lanes.
let node = sourceFiber;
let parent = sourceFiber.return;
while (parent !== null) {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberWorkLoop.old.js
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ function markUpdateLaneFromFiberToRoot(
warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber);
}
}
// Walk the parent path to the root and update the child expiration time.
// Walk the parent path to the root and update the child lanes.
let node = sourceFiber;
let parent = sourceFiber.return;
while (parent !== null) {
Expand Down

0 comments on commit 27a7be0

Please sign in to comment.