GeezerVison is showing github.com — Fix typo (#20466) · react/react@78ec97d
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberCompleteWork.new.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -1059,7 +1059,7 @@ function completeWork( |
1059 | 1059 | } |
1060 | 1060 |
|
1061 | 1061 | if (nextDidTimeout && !prevDidTimeout) { |
1062 | | - // If this subtreee is running in blocking mode we can suspend, |
| 1062 | + // If this subtree is running in blocking mode we can suspend, |
1063 | 1063 | // otherwise we won't suspend. |
1064 | 1064 | // TODO: This will still suspend a synchronous tree if anything |
1065 | 1065 | // in the concurrent tree already suspended during this render. |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberCompleteWork.old.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -1059,7 +1059,7 @@ function completeWork( |
1059 | 1059 | } |
1060 | 1060 |
|
1061 | 1061 | if (nextDidTimeout && !prevDidTimeout) { |
1062 | | - // If this subtreee is running in blocking mode we can suspend, |
| 1062 | + // If this subtree is running in blocking mode we can suspend, |
1063 | 1063 | // otherwise we won't suspend. |
1064 | 1064 | // TODO: This will still suspend a synchronous tree if anything |
1065 | 1065 | // in the concurrent tree already suspended during this render. |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/react/src/__tests__/ReactProfiler-test.internal.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -778,7 +778,7 @@ describe('Profiler', () => { |
778 | 778 | }, |
779 | 779 | ); |
780 | 780 |
|
781 | | - // Flush sync work with a nested upate |
| 781 | + // Flush sync work with a nested update |
782 | 782 | ReactNoop.flushSync(() => { |
783 | 783 | ReactNoop.render( |
784 | 784 | <React.Profiler id="root" onRender={onRender}> |
|