@samitouri / QOS-React-2 / commits / 2233b7d728

Fix typos: explicitlyu->explicitly, intialized->initialized (#35621)

Fixed spelling errors: - Fixed 'explicitlyu' -> 'explicitly' in compiler/CLAUDE.md - Fixed 'intialized' -> 'initialized' in InferReactiveScopeVariables.ts (comment) - Fixed 'intialized' -> 'initialized' in InferMutationAliasingEffects.ts (error message) <!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory. Before submitting a pull request, please make sure the following is done: 1. Fork [the repository](https://github.com/facebook/react) and create your branch from `main`. 2. Run `yarn` in the repository root. 3. If you've fixed a bug or added code that should be tested, add tests! 4. Ensure the test suite passes (`yarn test`). Tip: `yarn test --watch TestName` is helpful in development. 5. Run `yarn test --prod` to test in the production environment. It supports the same options as `yarn test`. 6. If you need a debugger, run `yarn test --debug --watch TestName`, open `chrome://inspect`, and press "Inspect". 7. Format your code with [prettier](https://github.com/prettier/prettier) (`yarn prettier`). 8. Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only check changed files. 9. Run the [Flow](https://flowtype.org/) type checks (`yarn flow`). 10. If you haven't already, complete the CLA. Learn more about contributing: https://reactjs.org/docs/how-to-contribute.html --> ## Summary <!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? --> ## How did you test this change? <!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes the user interface. How exactly did you verify that your PR solves the issue you wanted to solve? If you leave this empty, your PR will very likely be closed. -->

Bodhi Russell Silberling committed Mar 27, 2026 at 14:52 UTC 2233b7d7281fea5beec815cf5af9593d2b80f68d
3 files changed +3 -3
compiler/CLAUDE.md
+1 -1
@@ -76,7 +76,7 @@ yarn snap minimize --update <path>
76
77 ## Version Control
78
79 -This repository uses Sapling (`sl`) for version control. Sapling is similar to Mercurial: there is not staging area, but new/deleted files must be explicitlyu added/removed.
79 +This repository uses Sapling (`sl`) for version control. Sapling is similar to Mercurial: there is not staging area, but new/deleted files must be explicitly added/removed.
80
81 ```bash
82 # Check status
compiler/packages/babel-plugin-react-compiler/src/Inference/InferMutationAliasingEffects.ts
+1 -1
@@ -513,7 +513,7 @@ function inferBlock(
513 if (handlerParam != null) {
514 CompilerError.invariant(state.kind(handlerParam) != null, {
515 reason:
516 - 'Expected catch binding to be intialized with a DeclareLocal Catch instruction',
516 + 'Expected catch binding to be initialized with a DeclareLocal Catch instruction',
517 loc: terminal.loc,
518 });
519 const effects: Array<AliasingEffect> = [];
compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/InferReactiveScopeVariables.ts
+1 -1
@@ -143,7 +143,7 @@ export function inferReactiveScopeVariables(fn: HIRFunction): void {
143 }
144
145 /*
146 - * Validate that all scopes have properly intialized, valid mutable ranges
146 + * Validate that all scopes have properly initialized, valid mutable ranges
147 * within the span of instructions for this function, ie from 1 to 1 past
148 * the last instruction id.
149 */