Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: facebook/react
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3cb2c420
Choose a base ref
...
head repository: facebook/react
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9627b5a1
Choose a head ref
  • 5 commits
  • 14 files changed
  • 4 contributors

Commits on Mar 27, 2026

  1. Fix typo: accomodate -> accommodate (#35623)

    Fixed spelling error in comment:
    - Fixed 'accomodate' -> 'accommodate' in InferMutationAliasingEffects.ts
    
    <!--
      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.
    -->
    bodhisilberling authored Mar 27, 2026
    Configuration menu
    Copy the full SHA
    ba833da View commit details
    Browse the repository at this point in the history
  2. 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.
    -->
    bodhisilberling authored Mar 27, 2026
    Configuration menu
    Copy the full SHA
    2233b7d View commit details
    Browse the repository at this point in the history
  3. Fix typos in tests and comments (#35627)

    <!--
      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?
    -->
    
    I just fixed typos as followings.
    
    - `succesful` → `successful`
    - `becuase` → `because`
    - `enought` → `enough`
    - `defualt` → `default`
    
    ## 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.
    -->
    
    This PR only includes test case description, dummy strings for test, and
    comments updates, so it has no impact on runtime behavior.
    Therefore, I manually reviewed changed texts to ensure correctness.
    o-m12a authored Mar 27, 2026
    Configuration menu
    Copy the full SHA
    677818e View commit details
    Browse the repository at this point in the history
  4. Fix typos in comments (#35701)

    <!--
      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
    This PR fixes a few small spelling errors in comments across the
    codebase (`teh`→`the`, `occuring`→`occurring`, `occured`→`occurred`). No
    behavior changes.
    
    <!--
    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.
    -->
    This is a comments-only change. I verified the diff is limited to
    comment text and does not affect logic or runtime behavior.
    pavan-sh authored Mar 27, 2026
    Configuration menu
    Copy the full SHA
    f944b4c View commit details
    Browse the repository at this point in the history
  5. [Fiber] Fix context propagation into Suspense fallbacks (#36160)

    ## Summary
    
    When a context value changes above a Suspense boundary that is showing
    its fallback, context consumers inside the fallback do not re-render —
    they display stale values.
    
    `propagateContextChanges`, upon encountering a suspended Suspense
    boundary, marks the boundary for retry but stops traversing into its
    children entirely (`nextFiber = null`). This skips both the hidden
    primary subtree (intentional — those fibers may not exist) and the
    visible fallback subtree (a bug — those fibers are committed and visible
    to the user).
    
    The fix skips the primary OffscreenComponent and continues traversal
    into the FallbackFragment, so fallback context consumers are found and
    marked for re-render.
    
    In practice this often goes unnoticed because it's uncommon to read
    context inside a Suspense fallback, and when some other update (like a
    prop change) flows into the fallback it sidesteps the propagation path
    entirely. React Compiler makes the bug more likely to surface since it
    memoizes more aggressively, reducing the chance of an incidental
    re-render masking the stale value.
    
    ## Test plan
    
    - Added regression test `'context change propagates to Suspense fallback
    (memo boundary)'` in `ReactContextPropagation-test.js`
    - Verified the test fails without the fix and passes with it
    - All existing context propagation, Suspense, memo, and hooks tests pass
    acdlite authored Mar 27, 2026
    Configuration menu
    Copy the full SHA
    9627b5a View commit details
    Browse the repository at this point in the history
Loading