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
Refactor: more word doubles removed
  • Loading branch information
Vicachu42 committed Sep 29, 2022
commit 231824ea00cd4209db80c0e19a6d9053b51d711a
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