diff --git a/fixtures/dom/src/components/fixtures/selects/index.js b/fixtures/dom/src/components/fixtures/selects/index.js index f9ed8adc2c89..5460919cc231 100644 --- a/fixtures/dom/src/components/fixtures/selects/index.js +++ b/fixtures/dom/src/components/fixtures/selects/index.js @@ -123,7 +123,7 @@ class SelectFixture extends React.Component {
  • Click the "Reset" button
  • - The select should be reset to the inital value, "bar" + The select should be reset to the initial value, "bar"
    diff --git a/packages/react-dom/src/__tests__/ReactDOMRoot-test.internal.js b/packages/react-dom/src/__tests__/ReactDOMRoot-test.internal.js index 3cb1d444a863..899db3fbfda3 100644 --- a/packages/react-dom/src/__tests__/ReactDOMRoot-test.internal.js +++ b/packages/react-dom/src/__tests__/ReactDOMRoot-test.internal.js @@ -302,7 +302,7 @@ describe('ReactDOMRoot', () => { expect(container.textContent).toEqual('2'); }); - it('commits a later batch without commiting an earlier batch', () => { + it('commits a later batch without committing an earlier batch', () => { const root = ReactDOM.createRoot(container); const batch1 = root.createBatch(); batch1.render(1); diff --git a/packages/react-reconciler/src/__tests__/ReactIncremental-test.js b/packages/react-reconciler/src/__tests__/ReactIncremental-test.js index f12056aa5dd7..eacc4451a784 100644 --- a/packages/react-reconciler/src/__tests__/ReactIncremental-test.js +++ b/packages/react-reconciler/src/__tests__/ReactIncremental-test.js @@ -704,7 +704,7 @@ describe('ReactIncremental', () => { ops = []; - // Since we did nothing to the middle subtree during the interuption, + // Since we did nothing to the middle subtree during the interruption, // we should be able to reuse the reconciliation work that we already did // without restarting. ReactNoop.flush(); @@ -866,7 +866,7 @@ describe('ReactIncremental', () => { ops = []; - // Since we did nothing to the middle subtree during the interuption, + // Since we did nothing to the middle subtree during the interruption, // we should be able to reuse the reconciliation work that we already did // without restarting. ReactNoop.flush(); diff --git a/packages/react-reconciler/src/__tests__/ReactIncrementalSideEffects-test.js b/packages/react-reconciler/src/__tests__/ReactIncrementalSideEffects-test.js index ba405776a57e..5a2bdb022f5d 100644 --- a/packages/react-reconciler/src/__tests__/ReactIncrementalSideEffects-test.js +++ b/packages/react-reconciler/src/__tests__/ReactIncrementalSideEffects-test.js @@ -348,7 +348,7 @@ describe('ReactIncrementalSideEffects', () => { ReactNoop.render(); ReactNoop.flush(); - // Since we did nothing to the middle subtree during the interuption, + // Since we did nothing to the middle subtree during the interruption, // we should be able to reuse the reconciliation work that we already did // without restarting. The side-effects should still be replayed. @@ -413,7 +413,7 @@ describe('ReactIncrementalSideEffects', () => { ReactNoop.render(); ReactNoop.flush(30); - // Since we did nothing to the middle subtree during the interuption, + // Since we did nothing to the middle subtree during the interruption, // we should be able to reuse the reconciliation work that we already did // without restarting. The side-effects should still be replayed. diff --git a/scripts/babel/transform-prevent-infinite-loops.js b/scripts/babel/transform-prevent-infinite-loops.js index 36d0bc8a0039..69ccc2d9e231 100644 --- a/scripts/babel/transform-prevent-infinite-loops.js +++ b/scripts/babel/transform-prevent-infinite-loops.js @@ -53,7 +53,7 @@ module.exports = ({types: t, template}) => { ITERATOR: iterator, MAX_ITERATIONS: t.numericLiteral(MAX_ITERATIONS), }); - // No block statment e.g. `while (1) 1;` + // No block statement e.g. `while (1) 1;` if (!path.get('body').isBlockStatement()) { const statement = path.get('body').node; path.get('body').replaceWith(t.blockStatement([guard, statement])); diff --git a/scripts/bench/benchmarks/hacker-news/index.html b/scripts/bench/benchmarks/hacker-news/index.html index deddb9262030..a66e6c6561cc 100644 --- a/scripts/bench/benchmarks/hacker-news/index.html +++ b/scripts/bench/benchmarks/hacker-news/index.html @@ -24,9 +24,9 @@