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

Fix mount-or-update check in rerenderOptimistic #27277

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

acdlite
Copy link
Collaborator

@acdlite acdlite commented Aug 24, 2023

I noticed this was wrong because it should call updateWorkInProgressHook before it checks if currentHook is null.

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Aug 24, 2023
@react-sizebot
Copy link

react-sizebot commented Aug 24, 2023

Comparing: b798223...1d2e2e3

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js = 165.61 kB 165.61 kB = 51.88 kB 51.87 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js +0.02% 173.44 kB 173.49 kB +0.02% 54.25 kB 54.26 kB
facebook-www/ReactDOM-prod.classic.js +0.03% 569.80 kB 569.96 kB = 100.39 kB 100.39 kB
facebook-www/ReactDOM-prod.modern.js +0.03% 553.60 kB 553.76 kB = 97.54 kB 97.55 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 1d2e2e3

I noticed this was wrong because it should call updateWorkInProgressHook before
it checks if currentHook is null.
@acdlite acdlite merged commit 9a01c8b into facebook:main Aug 28, 2023
2 of 18 checks passed
github-actions bot pushed a commit that referenced this pull request Aug 28, 2023
I noticed this was wrong because it should call updateWorkInProgressHook
before it checks if currentHook is null.

DiffTrain build for [9a01c8b](9a01c8b)
EdisonVan pushed a commit to EdisonVan/react that referenced this pull request Apr 15, 2024
I noticed this was wrong because it should call updateWorkInProgressHook
before it checks if currentHook is null.
bigfootjon pushed a commit that referenced this pull request Apr 18, 2024
I noticed this was wrong because it should call updateWorkInProgressHook
before it checks if currentHook is null.

DiffTrain build for commit 9a01c8b.
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