Skip to content

Commit

Permalink
Refactor: more word doubles removed (#25352)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicachu42 authored Sep 29, 2022
1 parent 8cadcff commit 20a257c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ describe('ReactDOMEventListener', () => {
// Since the element is created by the inner React, the bubbling
// stops at the inner parent and never reaches the outer React.
// In the future, we might consider not bubbling these events
// at all, in in which case inner parent also wouldn't be logged.
// at all, in which case inner parent also wouldn't be logged.
expect(log).toEqual(unindent`
- outer parent capture
-- outer capture
Expand Down Expand Up @@ -2096,7 +2096,7 @@ describe('ReactDOMEventListener', () => {
// Since the element is created by the inner React, the bubbling
// stops at the inner parent and never reaches the outer React.
// In the future, we might consider not bubbling these events
// at all, in in which case inner parent also wouldn't be logged.
// at all, in which case inner parent also wouldn't be logged.
expect(log).toEqual(unindent`
- outer parent capture
-- outer capture
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/CheckStringCoercion.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

/*
* The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol
* The `'' + value` pattern (used in perf-sensitive code) throws for Symbol
* and Temporal.* types. See https://github.com/facebook/react/pull/22064.
*
* The functions in this module will throw an easier-to-understand,
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/ReactFeatureFlags.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const enableUseEventHook = __EXPERIMENTAL__;
// Chopping Block
//
// Planned feature deprecations and breaking changes. Sorted roughly in order of
// when we we plan to enable them.
// when we plan to enable them.
// -----------------------------------------------------------------------------

// This flag enables Strict Effects by default. We're not turning this on until
Expand Down
2 changes: 1 addition & 1 deletion scripts/rollup/validate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function getFormat(filepath) {
if (filepath.includes('shims')) {
// We don't currently lint these shims. We rely on the downstream Facebook
// repo to transform them.
// TODO: Should we we lint them?
// TODO: Should we lint them?
return null;
}
return 'rn';
Expand Down

0 comments on commit 20a257c

Please sign in to comment.