GeezerVison is showing github.com — Fix typo in comment (satsify → satisfy) (#21629) · react/react@9d17b56
File tree
Expand file treeCollapse file tree
Open diff view settings
packages/react-reconciler/src
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberWorkLoop.new.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -1803,7 +1803,7 @@ function commitRootImpl(root, renderPriorityLevel) { |
1803 | 1803 |
|
1804 | 1804 | // Check if there are any effects in the whole tree. |
1805 | 1805 | // TODO: This is left over from the effect list implementation, where we had |
1806 | | - // to check for the existence of `firstEffect` to satsify Flow. I think the |
| 1806 | + // to check for the existence of `firstEffect` to satisfy Flow. I think the |
1807 | 1807 | // only other reason this optimization exists is because it affects profiling. |
1808 | 1808 | // Reconsider whether this is necessary. |
1809 | 1809 | const subtreeHasEffects = |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberWorkLoop.old.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -1803,7 +1803,7 @@ function commitRootImpl(root, renderPriorityLevel) { |
1803 | 1803 |
|
1804 | 1804 | // Check if there are any effects in the whole tree. |
1805 | 1805 | // TODO: This is left over from the effect list implementation, where we had |
1806 | | - // to check for the existence of `firstEffect` to satsify Flow. I think the |
| 1806 | + // to check for the existence of `firstEffect` to satisfy Flow. I think the |
1807 | 1807 | // only other reason this optimization exists is because it affects profiling. |
1808 | 1808 | // Reconsider whether this is necessary. |
1809 | 1809 | const subtreeHasEffects = |
|