Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: more word doubles removed #25352

Merged
merged 1 commit into from
Sep 29, 2022
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
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