Skip to content

Conversation

sebmarkbage
Copy link
Collaborator

As I understand it this isn't used at Meta and it would let us get rid of at least legacy mode hydration code when we remove legacy mode from OSS builds.

@sebmarkbage sebmarkbage requested a review from kassens March 15, 2023 20:22
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Mar 15, 2023
@react-sizebot
Copy link

Comparing: d310d65...25eab9f

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 = 157.62 kB 157.62 kB = 49.85 kB 49.85 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 159.67 kB 159.67 kB = 50.52 kB 50.52 kB
facebook-www/ReactDOM-prod.classic.js = 542.23 kB 541.97 kB = 96.23 kB 96.22 kB
facebook-www/ReactDOM-prod.modern.js = 526.09 kB 526.09 kB = 93.94 kB 93.94 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 25eab9f

@kassens
Copy link
Member

kassens commented Mar 15, 2023

Unfortunately, it's still used in some places, eg. https://fburl.com/code/p66av4kc

Copy link
Member

@rickhanlonii rickhanlonii left a comment

Choose a reason for hiding this comment

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

Yup

@rickhanlonii
Copy link
Member

Oh nice catch @kassens

@kassens
Copy link
Member

kassens commented Mar 16, 2023

Actually, this is fine.

@kassens kassens merged commit 480aa77 into facebook:main Mar 16, 2023
@rubennorte
Copy link
Contributor

rubennorte commented Mar 16, 2023

Tests started failing on master after this was merged. Should we revert?

@kassens
Copy link
Member

kassens commented Mar 16, 2023

I think Rick is already taking a look. If we don't have a quick fix, we'll revert

@kassens
Copy link
Member

kassens commented Mar 16, 2023

Fix coming in #26412

kassens added a commit that referenced this pull request Mar 16, 2023
kassens added a commit that referenced this pull request Mar 16, 2023
Reverts #26400.

Will take a look at the test failures before re-merging.
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.

6 participants