Skip to content

[typo] Fix common spelling errors across codebase#155

Closed
everettbu wants to merge 2 commits into
mainfrom
typo_fix
Closed

[typo] Fix common spelling errors across codebase#155
everettbu wants to merge 2 commits into
mainfrom
typo_fix

Conversation

@everettbu

@everettbu everettbu commented Dec 12, 2025

Copy link
Copy Markdown

Mirror of facebook/react#34721
Original author: SeaOtocinclus


  • Fix "occassional" → "occasional"
  • Fix "abtract" → "abstract"
  • Fix "isFuctionExpression" → "isFunctionExpression"
  • Fix "udpates" → "updates"
  • Fix "occured" → "occurred"
  • Fix "accomodate" → "accommodate"
  • Fix "the" → "the"

- Fix "occassional" → "occasional"
- Fix "abtract" → "abstract"
- Fix "isFuctionExpression" → "isFunctionExpression"
- Fix "udpates" → "updates"
- Fix "occured" → "occurred"
- Fix "accomodate" → "accommodate"
- Fix "teh" → "the"
- Fix other typos in comments and code
@greptile-apps

greptile-apps Bot commented Dec 12, 2025

Copy link
Copy Markdown

Greptile Overview

Greptile Summary

This PR fixes common spelling errors across the codebase, including comments, error messages, variable names, and test cases.

Key changes:

  • Fixed critical variable name typo: isFuctionExpressionisFunctionExpression and durationToRangeMultiplerdurationToRangeMultiplier
  • Corrected method name typos in error messages: componentWillRecievePropscomponentWillReceiveProps
  • Fixed common spelling errors in comments: "occassional" → "occasional", "abtract" → "abstract", "udpates" → "updates", "occured" → "occurred", "accomodate" → "accommodate"
  • Fixed additional typos: "TOOD" → "TODO", "interation" → "iteration", "animateCallbck" → "animateCallback", and many others
  • Removed trailing whitespace in one test file

All corrections are accurate and improve code quality without affecting functionality.

Confidence Score: 5/5

  • This PR is completely safe to merge with zero risk
  • All changes are simple spelling corrections in comments, strings, variable names, and test cases. The fixes are accurate and do not modify any logic or functionality. The variable name corrections (isFunctionExpression, durationToRangeMultiplier) maintain consistency throughout the codebase.
  • No files require special attention

Important Files Changed

File Analysis

Filename Score Overview
compiler/packages/babel-plugin-react-compiler/src/Inference/InferMutationAliasingEffects.ts 5/5 Fixed multiple typos: "abtract" → "abstract", "isFuctionExpression" → "isFunctionExpression", "intialized" → "initialized", "accomodate" → "accommodate"
packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js 5/5 Fixed multiple typos: "TOOD" → "TODO", "interation" → "iteration", "durationToRangeMultipler" → "durationToRangeMultiplier", "animateCallbck" → "animateCallback", "detatch" → "detach", "teh" → "the", "incase" → "in case"
packages/react-dom/src/tests/ReactDOMFizzServer-test.js 5/5 Fixed multiple typos: "mappedErrows" → "mappedErrors", "Recieved" → "Received", "ther" → "their", "closeing" → "closing", "underyling" → "underlying", "satisifed" → "satisfied", removed trailing space
packages/react-reconciler/src/ReactFiberHooks.js 5/5 Fixed multiple typos: "incovation" → "invocation", "immediaetly" → "immediately", "snapsho" → "snapshot", "udpates" → "updates" (2 occurrences), "captial" → "capital", "overidden" → "overridden"

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

16 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

16 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated.

@github-actions github-actions Bot added the Resolution: Stale Automatically closed due to inactivity label Mar 13, 2026
@github-actions

Copy link
Copy Markdown

Closing this pull request after a prolonged period of inactivity. If this issue is still present in the latest release, please ask for this pull request to be reopened. Thank you!

@github-actions github-actions Bot closed this Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Resolution: Stale Automatically closed due to inactivity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants