From fef36b1186b35e79fc025b2de6948345f4017e3b Mon Sep 17 00:00:00 2001 From: Semen Zhydenko Date: Thu, 11 Jan 2018 11:08:37 +0100 Subject: [PATCH 1/5] commiting -> committing --- packages/react-dom/src/__tests__/ReactDOMRoot-test.internal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); From 2e70ffe1ba803c328ebf3fdbf6216b469863e46a Mon Sep 17 00:00:00 2001 From: Semen Zhydenko Date: Thu, 11 Jan 2018 11:09:05 +0100 Subject: [PATCH 2/5] doens't -> doesn't --- scripts/release/publish-commands/publish-to-npm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release/publish-commands/publish-to-npm.js b/scripts/release/publish-commands/publish-to-npm.js index eaf24abeda12..6b34e12a7c19 100644 --- a/scripts/release/publish-commands/publish-to-npm.js +++ b/scripts/release/publish-commands/publish-to-npm.js @@ -50,7 +50,7 @@ const push = async ({cwd, dry, packages, version}) => { } // If we've just published a stable release, - // Update the @next tag to also point to it (so @next doens't lag behind). + // Update the @next tag to also point to it (so @next doesn't lag behind). if (!isPrerelease) { await execUnlessDry( `npm dist-tag add ${project}@${packageVersion} next`, From fd49fcfdac30d971d69a239257a86b78e7d3e7b3 Mon Sep 17 00:00:00 2001 From: Semen Zhydenko Date: Thu, 11 Jan 2018 11:10:12 +0100 Subject: [PATCH 3/5] interuption -> interruption --- .../react-reconciler/src/__tests__/ReactIncremental-test.js | 4 ++-- .../src/__tests__/ReactIncrementalSideEffects-test.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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. From 15d9e58f29c4e8e99250d70758348ebaad5105e6 Mon Sep 17 00:00:00 2001 From: Semen Zhydenko Date: Thu, 11 Jan 2018 11:12:31 +0100 Subject: [PATCH 4/5] inital -> initial --- fixtures/dom/src/components/fixtures/selects/index.js | 2 +- scripts/bench/benchmarks/hacker-news/index.html | 4 ++-- scripts/bench/benchmarks/pe-class-components/index.html | 4 ++-- scripts/bench/benchmarks/pe-functional-components/index.html | 4 ++-- scripts/bench/benchmarks/pe-no-components/index.html | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) 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/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 @@