diff --git a/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js b/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js index a03ccc161ad1..c3b28fbda061 100644 --- a/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js +++ b/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js @@ -3991,7 +3991,7 @@ export function registerSuspenseInstanceRetry( instance.data !== SUSPENSE_PENDING_START_DATA || // The boundary is still in pending status but the document has finished loading // before we could register the event handler that would have scheduled the retry - // on load so we call teh callback now. + // on load so we call the callback now. ownerDocument.readyState !== DOCUMENT_READY_STATE_LOADING ) { callback(); diff --git a/packages/react-reconciler/src/ReactFiberWorkLoop.js b/packages/react-reconciler/src/ReactFiberWorkLoop.js index d055b271ad77..d527c37a02b7 100644 --- a/packages/react-reconciler/src/ReactFiberWorkLoop.js +++ b/packages/react-reconciler/src/ReactFiberWorkLoop.js @@ -3029,7 +3029,7 @@ function renderRootConcurrent(root: FiberRoot, lanes: Lanes): RootExitStatus { function workLoopConcurrent(nonIdle: boolean) { // We yield every other "frame" when rendering Transition or Retries. Those are blocking // revealing new content. The purpose of this yield is not to avoid the overhead of yielding, - // which is very low, but rather to intentionally block any frequently occuring other main + // which is very low, but rather to intentionally block any frequently occurring other main // thread work like animations from starving our work. In other words, the purpose of this // is to reduce the framerate of animations to 30 frames per second. // For Idle work we yield every 5ms to keep animations going smooth. diff --git a/packages/react-reconciler/src/__tests__/ReactAsyncActions-test.js b/packages/react-reconciler/src/__tests__/ReactAsyncActions-test.js index 41f5a3559156..26874881dca5 100644 --- a/packages/react-reconciler/src/__tests__/ReactAsyncActions-test.js +++ b/packages/react-reconciler/src/__tests__/ReactAsyncActions-test.js @@ -1700,7 +1700,7 @@ describe('ReactAsyncActions', () => { 'regression: updates in an action passed to React.startTransition are batched ' + 'even if there were no updates before the first await', async () => { - // Regression for a bug that occured in an older, too-clever-by-half + // Regression for a bug that occurred in an older, too-clever-by-half // implementation of the isomorphic startTransition API. Now, the // isomorphic startTransition is literally the composition of every // reconciler instance's startTransition, so the behavior is less likely