Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fixtures/dom/src/components/fixtures/selects/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class SelectFixture extends React.Component {
<li>Click the "Reset" button</li>
</TestCase.Steps>
<TestCase.ExpectedResult>
The select should be reset to the inital value, "bar"
The select should be reset to the initial value, "bar"
</TestCase.ExpectedResult>

<div className="test-fixture">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ describe('ReactIncrementalSideEffects', () => {
ReactNoop.render(<Foo text="foo" step={1} />);
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.

Expand Down Expand Up @@ -413,7 +413,7 @@ describe('ReactIncrementalSideEffects', () => {
ReactNoop.render(<Foo text="foo" step={1} />);
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.

Expand Down
2 changes: 1 addition & 1 deletion scripts/babel/transform-prevent-infinite-loops.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]));
Expand Down
4 changes: 2 additions & 2 deletions scripts/bench/benchmarks/hacker-news/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
<script src="top-stories.js"></script>
<script src="benchmark.js"></script>
<script>
performance.mark('Inital Render');
performance.mark('Initial Render');
render();
performance.measure('Inital Render', 'Inital Render');
performance.measure('Initial Render', 'Initial Render');
requestAnimationFrame(() => {
performance.mark('Update Render');
render();
Expand Down
4 changes: 2 additions & 2 deletions scripts/bench/benchmarks/pe-class-components/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
</script>
<script src="benchmark.js"></script>
<script>
performance.mark('Inital Render');
performance.mark('Initial Render');
render();
performance.measure('Inital Render', 'Inital Render');
performance.measure('Initial Render', 'Initial Render');
requestAnimationFrame(() => {
performance.mark('Update Render');
render();
Expand Down
4 changes: 2 additions & 2 deletions scripts/bench/benchmarks/pe-functional-components/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
</script>
<script src="benchmark.js"></script>
<script>
performance.mark('Inital Render');
performance.mark('Initial Render');
render();
performance.measure('Inital Render', 'Inital Render');
performance.measure('Initial Render', 'Initial Render');
requestAnimationFrame(() => {
performance.mark('Update Render');
render();
Expand Down
4 changes: 2 additions & 2 deletions scripts/bench/benchmarks/pe-no-components/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
</script>
<script src="benchmark.js"></script>
<script>
performance.mark('Inital Render');
performance.mark('Initial Render');
render();
performance.measure('Inital Render', 'Inital Render');
performance.measure('Initial Render', 'Initial Render');
requestAnimationFrame(() => {
performance.mark('Update Render');
render();
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/publish-commands/publish-to-npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down