Skip to content

Commit 7000bd3

Browse files
committed
remove unstable_renderSubtreeIntoContainer (#29771)
remove unstable_renderSubtreeIntoContainer This is finally no longer used and can be deleted. DiffTrain build for [93826c8](93826c8)
1 parent 25dfa8e commit 7000bd3

35 files changed

+80
-296
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
383b2a18456215d2d3ec46f33c0c912e84efa08f
1+
93826c8483ffaf6676c437c25619d82f13444413
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
383b2a18456215d2d3ec46f33c0c912e84efa08f
1+
93826c8483ffaf6676c437c25619d82f13444413

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1987,7 +1987,7 @@ __DEV__ &&
19871987
exports.useTransition = function () {
19881988
return resolveDispatcher().useTransition();
19891989
};
1990-
exports.version = "19.0.0-www-classic-383b2a1845-20240611";
1990+
exports.version = "19.0.0-www-classic-93826c8483-20240612";
19911991
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19921992
"function" ===
19931993
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1967,7 +1967,7 @@ __DEV__ &&
19671967
exports.useTransition = function () {
19681968
return resolveDispatcher().useTransition();
19691969
};
1970-
exports.version = "19.0.0-www-modern-383b2a1845-20240611";
1970+
exports.version = "19.0.0-www-modern-93826c8483-20240612";
19711971
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19721972
"function" ===
19731973
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-prod.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
665665
exports.useTransition = function () {
666666
return ReactSharedInternals.H.useTransition();
667667
};
668-
exports.version = "19.0.0-www-classic-383b2a1845-20240611";
668+
exports.version = "19.0.0-www-classic-93826c8483-20240612";

compiled/facebook-www/React-prod.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
665665
exports.useTransition = function () {
666666
return ReactSharedInternals.H.useTransition();
667667
};
668-
exports.version = "19.0.0-www-modern-383b2a1845-20240611";
668+
exports.version = "19.0.0-www-modern-93826c8483-20240612";

compiled/facebook-www/React-profiling.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
669669
exports.useTransition = function () {
670670
return ReactSharedInternals.H.useTransition();
671671
};
672-
exports.version = "19.0.0-www-classic-383b2a1845-20240611";
672+
exports.version = "19.0.0-www-classic-93826c8483-20240612";
673673
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
674674
"function" ===
675675
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-profiling.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
669669
exports.useTransition = function () {
670670
return ReactSharedInternals.H.useTransition();
671671
};
672-
exports.version = "19.0.0-www-modern-383b2a1845-20240611";
672+
exports.version = "19.0.0-www-modern-93826c8483-20240612";
673673
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
674674
"function" ===
675675
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16415,14 +16415,6 @@ __DEV__ &&
1641516415
var didWarnAboutContextTypeAndContextTypes = new Set();
1641616416
var didWarnAboutInvalidateContextType = new Set();
1641716417
var didWarnOnInvalidCallback = new Set();
16418-
Object.defineProperty(fakeInternalInstance, "_processChildContext", {
16419-
enumerable: !1,
16420-
value: function () {
16421-
throw Error(
16422-
"_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal)."
16423-
);
16424-
}
16425-
});
1642616418
Object.freeze(fakeInternalInstance);
1642716419
var classComponentUpdater = {
1642816420
isMounted: function (component) {
@@ -16942,14 +16934,14 @@ __DEV__ &&
1694216934
scheduleRoot: scheduleRoot,
1694316935
setRefreshHandler: setRefreshHandler,
1694416936
getCurrentFiber: getCurrentFiberForDevTools,
16945-
reconcilerVersion: "19.0.0-www-classic-383b2a1845-20240611"
16937+
reconcilerVersion: "19.0.0-www-classic-93826c8483-20240612"
1694616938
});
1694716939
})({
1694816940
findFiberByHostInstance: function () {
1694916941
return null;
1695016942
},
1695116943
bundleType: 1,
16952-
version: "19.0.0-www-classic-383b2a1845-20240611",
16944+
version: "19.0.0-www-classic-93826c8483-20240612",
1695316945
rendererPackageName: "react-art"
1695416946
});
1695516947
var ClippingRectangle = TYPES.CLIPPING_RECTANGLE,

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

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15846,14 +15846,6 @@ __DEV__ &&
1584615846
var didWarnAboutUndefinedDerivedState = new Set();
1584715847
var didWarnAboutInvalidateContextType = new Set();
1584815848
var didWarnOnInvalidCallback = new Set();
15849-
Object.defineProperty(fakeInternalInstance, "_processChildContext", {
15850-
enumerable: !1,
15851-
value: function () {
15852-
throw Error(
15853-
"_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal)."
15854-
);
15855-
}
15856-
});
1585715849
Object.freeze(fakeInternalInstance);
1585815850
var classComponentUpdater = {
1585915851
isMounted: function (component) {
@@ -16372,14 +16364,14 @@ __DEV__ &&
1637216364
scheduleRoot: scheduleRoot,
1637316365
setRefreshHandler: setRefreshHandler,
1637416366
getCurrentFiber: getCurrentFiberForDevTools,
16375-
reconcilerVersion: "19.0.0-www-modern-383b2a1845-20240611"
16367+
reconcilerVersion: "19.0.0-www-modern-93826c8483-20240612"
1637616368
});
1637716369
})({
1637816370
findFiberByHostInstance: function () {
1637916371
return null;
1638016372
},
1638116373
bundleType: 1,
16382-
version: "19.0.0-www-modern-383b2a1845-20240611",
16374+
version: "19.0.0-www-modern-93826c8483-20240612",
1638316375
rendererPackageName: "react-art"
1638416376
});
1638516377
var ClippingRectangle = TYPES.CLIPPING_RECTANGLE,

0 commit comments

Comments
 (0)