Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/react-reconciler/src/ReactFiberCommitWork.js
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ function commitLifeCycles(

function hideOrUnhideAllChildren(finishedWork, isHidden) {
if (supportsMutation) {
// We only have the top Fiber that was inserted but we need recurse down its
// We only have the top Fiber that was inserted but we need to recurse down its
// children to find all the terminal nodes.
let node: Fiber = finishedWork;
while (true) {
Expand Down Expand Up @@ -945,7 +945,7 @@ function commitPlacement(finishedWork: Fiber): void {
}

const before = getHostSibling(finishedWork);
// We only have the top Fiber that was inserted but we need recurse down its
// We only have the top Fiber that was inserted but we need to recurse down its
// children to find all the terminal nodes.
let node: Fiber = finishedWork;
while (true) {
Expand Down Expand Up @@ -987,7 +987,7 @@ function commitPlacement(finishedWork: Fiber): void {
}

function unmountHostComponents(current): void {
// We only have the top Fiber that was deleted but we need recurse down its
// We only have the top Fiber that was deleted but we need to recurse down its
// children to find all the terminal nodes.
let node: Fiber = current;

Expand Down