Skip to content

Commit 8ee89e3

Browse files
committed
Remove legacy hydration mode (#28440)
While Meta is still using legacy mode and we can't remove completely, Meta is not using legacy hydration so we should be able to remove that. This is just the first step. Once removed, we can vastly simplify the DOMConfig for hydration. This will have to be rebased when tests are upgraded. DiffTrain build for [670d61b](670d61b)
1 parent eb7de04 commit 8ee89e3

18 files changed

+4624
-6859
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dbfbfb3312db019183ef92fd2ef110cc7d807e80
1+
670d61bea23470e980ba13c1c8441e375779b0b8

compiled/facebook-www/ReactART-dev.classic.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ if (__DEV__) {
6666
return self;
6767
}
6868

69-
var ReactVersion = "19.0.0-www-classic-36e84f9d";
69+
var ReactVersion = "19.0.0-www-classic-841735f0";
7070

7171
var LegacyRoot = 0;
7272
var ConcurrentRoot = 1;
@@ -16852,15 +16852,6 @@ if (__DEV__) {
1685216852
// This is the first render pass. Attempt to hydrate.
1685316853
pushPrimaryTreeSuspenseHandler(workInProgress); // We should never be hydrating at this point because it is the first pass,
1685416854

16855-
if ((workInProgress.mode & ConcurrentMode) === NoMode) {
16856-
return retrySuspenseComponentWithoutHydrating(
16857-
current,
16858-
workInProgress,
16859-
renderLanes,
16860-
null
16861-
);
16862-
}
16863-
1686416855
if (isSuspenseInstanceFallback()) {
1686516856
// This boundary is in a permanent fallback state. In this case, we'll never
1686616857
// get an update and we'll never be able to hydrate the final content. Let's just try the

compiled/facebook-www/ReactART-dev.modern.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ if (__DEV__) {
6666
return self;
6767
}
6868

69-
var ReactVersion = "19.0.0-www-modern-2edfe4d7";
69+
var ReactVersion = "19.0.0-www-modern-37e2c118";
7070

7171
var LegacyRoot = 0;
7272
var ConcurrentRoot = 1;
@@ -16546,15 +16546,6 @@ if (__DEV__) {
1654616546
// This is the first render pass. Attempt to hydrate.
1654716547
pushPrimaryTreeSuspenseHandler(workInProgress); // We should never be hydrating at this point because it is the first pass,
1654816548

16549-
if ((workInProgress.mode & ConcurrentMode) === NoMode) {
16550-
return retrySuspenseComponentWithoutHydrating(
16551-
current,
16552-
workInProgress,
16553-
renderLanes,
16554-
null
16555-
);
16556-
}
16557-
1655816549
if (isSuspenseInstanceFallback()) {
1655916550
// This boundary is in a permanent fallback state. In this case, we'll never
1656016551
// get an update and we'll never be able to hydrate the final content. Let's just try the

0 commit comments

Comments
 (0)