Skip to content

Commit da35a56

Browse files
committed
remove unstable_renderSubtreeIntoContainer (#29771)
remove unstable_renderSubtreeIntoContainer This is finally no longer used and can be deleted. DiffTrain build for commit 93826c8.
1 parent d7dee0d commit da35a56

File tree

14 files changed

+41
-65
lines changed

14 files changed

+41
-65
lines changed

compiled-rn/VERSION_NATIVE_FB

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.0.0-native-fb-383b2a1845-20240611
1+
19.0.0-native-fb-93826c8483-20240612

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<0f8fb935cba4739044ec815f4845fc5b>>
10+
* @generated SignedSource<<b8eb53928e81627fde667c042f84c9ee>>
1111
*/
1212

1313
"use strict";
@@ -14567,14 +14567,6 @@ __DEV__ &&
1456714567
var didWarnAboutContextTypeAndContextTypes = new Set();
1456814568
var didWarnAboutInvalidateContextType = new Set();
1456914569
var didWarnOnInvalidCallback = new Set();
14570-
Object.defineProperty(fakeInternalInstance, "_processChildContext", {
14571-
enumerable: !1,
14572-
value: function () {
14573-
throw Error(
14574-
"_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)."
14575-
);
14576-
}
14577-
});
1457814570
Object.freeze(fakeInternalInstance);
1457914571
var classComponentUpdater = {
1458014572
isMounted: function (component) {
@@ -15061,14 +15053,14 @@ __DEV__ &&
1506115053
scheduleRoot: scheduleRoot,
1506215054
setRefreshHandler: setRefreshHandler,
1506315055
getCurrentFiber: getCurrentFiberForDevTools,
15064-
reconcilerVersion: "19.0.0-native-fb-383b2a1845-20240611"
15056+
reconcilerVersion: "19.0.0-native-fb-93826c8483-20240612"
1506515057
});
1506615058
})({
1506715059
findFiberByHostInstance: function () {
1506815060
throw Error("TestRenderer does not support findFiberByHostInstance()");
1506915061
},
1507015062
bundleType: 1,
15071-
version: "19.0.0-native-fb-383b2a1845-20240611",
15063+
version: "19.0.0-native-fb-93826c8483-20240612",
1507215064
rendererPackageName: "react-test-renderer"
1507315065
});
1507415066
exports._Scheduler = Scheduler;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<b48de44f4eaba13ec8cc95fe5226199c>>
10+
* @generated SignedSource<<7c4fbf8dad7a6398072a32a9ff3cdeb4>>
1111
*/
1212

1313
"use strict";
@@ -9357,7 +9357,7 @@ var devToolsConfig$jscomp$inline_1063 = {
93579357
throw Error("TestRenderer does not support findFiberByHostInstance()");
93589358
},
93599359
bundleType: 0,
9360-
version: "19.0.0-native-fb-383b2a1845-20240611",
9360+
version: "19.0.0-native-fb-93826c8483-20240612",
93619361
rendererPackageName: "react-test-renderer"
93629362
};
93639363
var internals$jscomp$inline_1250 = {
@@ -9388,7 +9388,7 @@ var internals$jscomp$inline_1250 = {
93889388
scheduleRoot: null,
93899389
setRefreshHandler: null,
93909390
getCurrentFiber: null,
9391-
reconcilerVersion: "19.0.0-native-fb-383b2a1845-20240611"
9391+
reconcilerVersion: "19.0.0-native-fb-93826c8483-20240612"
93929392
};
93939393
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
93949394
var hook$jscomp$inline_1251 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<fa5430c83fb9661b7fb24558b752f1df>>
10+
* @generated SignedSource<<ecdfa4749709d707aa76297f3fa3a213>>
1111
*/
1212

1313
"use strict";
@@ -9979,7 +9979,7 @@ var devToolsConfig$jscomp$inline_1146 = {
99799979
throw Error("TestRenderer does not support findFiberByHostInstance()");
99809980
},
99819981
bundleType: 0,
9982-
version: "19.0.0-native-fb-383b2a1845-20240611",
9982+
version: "19.0.0-native-fb-93826c8483-20240612",
99839983
rendererPackageName: "react-test-renderer"
99849984
};
99859985
(function (internals) {
@@ -10023,7 +10023,7 @@ var devToolsConfig$jscomp$inline_1146 = {
1002310023
scheduleRoot: null,
1002410024
setRefreshHandler: null,
1002510025
getCurrentFiber: null,
10026-
reconcilerVersion: "19.0.0-native-fb-383b2a1845-20240611"
10026+
reconcilerVersion: "19.0.0-native-fb-93826c8483-20240612"
1002710027
});
1002810028
exports._Scheduler = Scheduler;
1002910029
exports.act = act;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<c87ee9f7f585d892d625a7f35b0e6cd4>>
10+
* @generated SignedSource<<54e9a9ca6df8e0a5cbc2b3385ec36991>>
1111
*/
1212

1313
"use strict";
@@ -1741,7 +1741,7 @@ __DEV__ &&
17411741
exports.useTransition = function () {
17421742
return resolveDispatcher().useTransition();
17431743
};
1744-
exports.version = "19.0.0-native-fb-383b2a1845-20240611";
1744+
exports.version = "19.0.0-native-fb-93826c8483-20240612";
17451745
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
17461746
"function" ===
17471747
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<53620647c35529a2727762e548f00871>>
10+
* @generated SignedSource<<d40c783eaa0fafe9077a8b9f7609ef7d>>
1111
*/
1212

1313
"use strict";
@@ -604,4 +604,4 @@ exports.useSyncExternalStore = function (
604604
exports.useTransition = function () {
605605
return ReactSharedInternals.H.useTransition();
606606
};
607-
exports.version = "19.0.0-native-fb-383b2a1845-20240611";
607+
exports.version = "19.0.0-native-fb-93826c8483-20240612";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<7004751e069b539c029afbaf6d0baa69>>
10+
* @generated SignedSource<<8fcff1d373de10edfbb58f5cefd4ec26>>
1111
*/
1212

1313
"use strict";
@@ -608,7 +608,7 @@ exports.useSyncExternalStore = function (
608608
exports.useTransition = function () {
609609
return ReactSharedInternals.H.useTransition();
610610
};
611-
exports.version = "19.0.0-native-fb-383b2a1845-20240611";
611+
exports.version = "19.0.0-native-fb-93826c8483-20240612";
612612
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
613613
"function" ===
614614
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
383b2a18456215d2d3ec46f33c0c912e84efa08f
1+
93826c8483ffaf6676c437c25619d82f13444413

compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<d385b8ae99781bb4812778017d564ec0>>
10+
* @generated SignedSource<<c5eb663ba843b3f6dfbca3feeeb3aace>>
1111
*/
1212

1313
"use strict";
@@ -16301,14 +16301,6 @@ __DEV__ &&
1630116301
var didWarnAboutContextTypeAndContextTypes = new Set();
1630216302
var didWarnAboutInvalidateContextType = new Set();
1630316303
var didWarnOnInvalidCallback = new Set();
16304-
Object.defineProperty(fakeInternalInstance, "_processChildContext", {
16305-
enumerable: !1,
16306-
value: function () {
16307-
throw Error(
16308-
"_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)."
16309-
);
16310-
}
16311-
});
1631216304
Object.freeze(fakeInternalInstance);
1631316305
var classComponentUpdater = {
1631416306
isMounted: function (component) {
@@ -16693,12 +16685,12 @@ __DEV__ &&
1669316685
scheduleRoot: scheduleRoot,
1669416686
setRefreshHandler: setRefreshHandler,
1669516687
getCurrentFiber: getCurrentFiberForDevTools,
16696-
reconcilerVersion: "19.0.0-native-fb-383b2a1845-20240611"
16688+
reconcilerVersion: "19.0.0-native-fb-93826c8483-20240612"
1669716689
});
1669816690
})({
1669916691
findFiberByHostInstance: getInstanceFromNode,
1670016692
bundleType: 1,
16701-
version: "19.0.0-native-fb-383b2a1845-20240611",
16693+
version: "19.0.0-native-fb-93826c8483-20240612",
1670216694
rendererPackageName: "react-native-renderer",
1670316695
rendererConfig: {
1670416696
getInspectorDataForInstance: getInspectorDataForInstance,

compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<231304c043fa9fefae4b7463604e3468>>
10+
* @generated SignedSource<<dde166b06e7834de2e393cfe6bfdb888>>
1111
*/
1212

1313
"use strict";
@@ -10612,7 +10612,7 @@ var roots = new Map(),
1061210612
devToolsConfig$jscomp$inline_1140 = {
1061310613
findFiberByHostInstance: getInstanceFromNode,
1061410614
bundleType: 0,
10615-
version: "19.0.0-native-fb-383b2a1845-20240611",
10615+
version: "19.0.0-native-fb-93826c8483-20240612",
1061610616
rendererPackageName: "react-native-renderer",
1061710617
rendererConfig: {
1061810618
getInspectorDataForInstance: getInspectorDataForInstance,
@@ -10655,7 +10655,7 @@ var internals$jscomp$inline_1366 = {
1065510655
scheduleRoot: null,
1065610656
setRefreshHandler: null,
1065710657
getCurrentFiber: null,
10658-
reconcilerVersion: "19.0.0-native-fb-383b2a1845-20240611"
10658+
reconcilerVersion: "19.0.0-native-fb-93826c8483-20240612"
1065910659
};
1066010660
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1066110661
var hook$jscomp$inline_1367 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

0 commit comments

Comments
 (0)