mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Typo fix in comment (#14787)
This commit is contained in:
committed by
Sophie Alpert
parent
1d48b4a684
commit
3e295edd52
+3
-3
@@ -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) {
|
||||
@@ -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) {
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user