Skip to content

Commit e6f60d2

Browse files
authored
fix typos (#22715)
1 parent f86cd54 commit e6f60d2

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

packages/react-dom/src/__tests__/CSSPropertyOperations-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ describe('CSSPropertyOperations', () => {
224224
ReactDOM.render(<Comp />, root);
225225
});
226226

227-
it('should warn about style containing a Infinity value', () => {
227+
it('should warn about style containing an Infinity value', () => {
228228
class Comp extends React.Component {
229229
static displayName = 'Comp';
230230

packages/react-reconciler/src/ReactFiberCompleteWork.new.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ function completeWork(
884884
// Schedule an effect to clear this container at the start of the next commit.
885885
// This handles the case of React rendering into a container with previous children.
886886
// It's also safe to do for updates too, because current.child would only be null
887-
// if the previous render was null (so the the container would already be empty).
887+
// if the previous render was null (so the container would already be empty).
888888
workInProgress.flags |= Snapshot;
889889
}
890890
}

packages/react-reconciler/src/ReactFiberCompleteWork.old.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ function completeWork(
884884
// Schedule an effect to clear this container at the start of the next commit.
885885
// This handles the case of React rendering into a container with previous children.
886886
// It's also safe to do for updates too, because current.child would only be null
887-
// if the previous render was null (so the the container would already be empty).
887+
// if the previous render was null (so the container would already be empty).
888888
workInProgress.flags |= Snapshot;
889889
}
890890
}

packages/react-reconciler/src/ReactFiberTreeContext.new.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
// new level with a single slot. You can think of this as a fork with only one
5151
// prong, or an array of children with length 1.
5252
//
53-
// It's possible for the the size of the sequence to exceed 32 bits, the max
53+
// It's possible for the size of the sequence to exceed 32 bits, the max
5454
// size for bitwise operations. When this happens, we make more room by
5555
// converting the right part of the id to a string and storing it in an overflow
5656
// variable. We use a base 32 string representation, because 32 is the largest

packages/react-reconciler/src/ReactFiberTreeContext.old.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
// new level with a single slot. You can think of this as a fork with only one
5151
// prong, or an array of children with length 1.
5252
//
53-
// It's possible for the the size of the sequence to exceed 32 bits, the max
53+
// It's possible for the size of the sequence to exceed 32 bits, the max
5454
// size for bitwise operations. When this happens, we make more room by
5555
// converting the right part of the id to a string and storing it in an overflow
5656
// variable. We use a base 32 string representation, because 32 is the largest

packages/react-reconciler/src/ReactFiberWorkLoop.new.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ function finishConcurrentRender(root, exitStatus, lanes) {
10251025

10261026
function isRenderConsistentWithExternalStores(finishedWork: Fiber): boolean {
10271027
// Search the rendered tree for external store reads, and check whether the
1028-
// stores were mutated in a concurrent event. Intentionally using a iterative
1028+
// stores were mutated in a concurrent event. Intentionally using an iterative
10291029
// loop instead of recursion so we can exit early.
10301030
let node: Fiber = finishedWork;
10311031
while (true) {

packages/react-reconciler/src/ReactFiberWorkLoop.old.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ function finishConcurrentRender(root, exitStatus, lanes) {
10251025

10261026
function isRenderConsistentWithExternalStores(finishedWork: Fiber): boolean {
10271027
// Search the rendered tree for external store reads, and check whether the
1028-
// stores were mutated in a concurrent event. Intentionally using a iterative
1028+
// stores were mutated in a concurrent event. Intentionally using an iterative
10291029
// loop instead of recursion so we can exit early.
10301030
let node: Fiber = finishedWork;
10311031
while (true) {

packages/react-server/src/ReactFizzTreeContext.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
// new level with a single slot. You can think of this as a fork with only one
5151
// prong, or an array of children with length 1.
5252
//
53-
// It's possible for the the size of the sequence to exceed 32 bits, the max
53+
// It's possible for the size of the sequence to exceed 32 bits, the max
5454
// size for bitwise operations. When this happens, we make more room by
5555
// converting the right part of the id to a string and storing it in an overflow
5656
// variable. We use a base 32 string representation, because 32 is the largest

scripts/release/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A typical release cycle goes like this:
2121
1. When a commit is pushed to the React repo, [Circle CI](https://circleci.com/gh/facebook/react/) will build all release bundles and run unit tests against both the source code and the built bundles.
2222
2. Each weekday, an automated CI cron job publishes prereleases to the `next` and `experimental` channels, from tip of the main branch.
2323
1. You can also [trigger an automated prerelease via the command line](#trigger-an-automated-prerelease), instead of waiting until the next time the cron job runs.
24-
2. For advanced cases, you can [**manually prepare and publish to the `next` channel**](#publishing-release) using the [`prepare-release-from-ci`](#prepare-release-from-ci) and [`publish`](#publish) scripts; or to the [**`experimental` channel**](#publishing-an-experimental-release) using the the same scripts (but different build artifacts).
24+
2. For advanced cases, you can [**manually prepare and publish to the `next` channel**](#publishing-release) using the [`prepare-release-from-ci`](#prepare-release-from-ci) and [`publish`](#publish) scripts; or to the [**`experimental` channel**](#publishing-an-experimental-release) using the same scripts (but different build artifacts).
2525
3. Finally, a "next" release can be [**promoted to stable**](#publishing-a-stable-release)<sup>1</sup> using the [`prepare-release-from-npm`](#prepare-release-from-npm) and [`publish`](#publish) scripts. (This process is always manual.)
2626

2727
The high level process of creating releases is [documented below](#process). Individual scripts are documented as well:

0 commit comments

Comments
 (0)