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

Small cleanup in ReactFiberCompleteWork #27681

Merged
merged 3 commits into from
Nov 10, 2023

Conversation

kassens
Copy link
Member

@kassens kassens commented Nov 9, 2023

These are all functionally equivalent changes.

  • remove double negation and more explicit naming of hadNoMutationsEffects
  • use docblock syntax that's consumed by Flow
  • remove useless cast

These are all functionally equivalent changes.

- remove double negation and more explicit naming of `hadNoMutationsEffects`
- use docblock syntax that's consumed by Flow
- remove useless cast
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Nov 9, 2023
@kassens
Copy link
Member Author

kassens commented Nov 9, 2023

Factored these changes out of #27647 to make it more readable.

Copy link
Member

@noahlemen noahlemen left a comment

Choose a reason for hiding this comment

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

this looks good as far as i can tell, but let's get @acdlite's eyes on it too before landing?

@kassens kassens merged commit c4c87e0 into facebook:main Nov 10, 2023
36 checks passed
@kassens kassens deleted the fiber-complete-work-cleanup branch November 10, 2023 15:20
github-actions bot pushed a commit that referenced this pull request Nov 10, 2023
These are all functionally equivalent changes.

- remove double negation and more explicit naming of
`hadNoMutationsEffects`
- use docblock syntax that's consumed by Flow
- remove useless cast

DiffTrain build for [c4c87e0](c4c87e0)
kodiakhq bot pushed a commit to vercel/next.js that referenced this pull request Nov 15, 2023
EdisonVan pushed a commit to EdisonVan/react that referenced this pull request Apr 15, 2024
These are all functionally equivalent changes.

- remove double negation and more explicit naming of
`hadNoMutationsEffects`
- use docblock syntax that's consumed by Flow
- remove useless cast
bigfootjon pushed a commit that referenced this pull request Apr 18, 2024
These are all functionally equivalent changes.

- remove double negation and more explicit naming of
`hadNoMutationsEffects`
- use docblock syntax that's consumed by Flow
- remove useless cast

DiffTrain build for commit c4c87e0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants