Skip to content

Commit 25e61d2

Browse files
committed
[DevTools] Remove experimental __IS_INTERNAL_MCP_BUILD__ flag and related code (facebook#35755)
This is unused. DiffTrain build for [8374c2a](facebook@8374c2a)
1 parent dd5e4fd commit 25e61d2

40 files changed

Lines changed: 31955 additions & 64689 deletions

compiled-rn/VERSION_NATIVE_FB

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.2.0-native-fb-5063b328-20250815
1+
19.3.0-native-fb-8374c2ab-20260211

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

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<90a8d185d9cef24ff667513ed992553c>>
10+
* @generated SignedSource<<79dc955d9d37448788d75cd3686a0ab3>>
1111
*/
1212

1313
"use strict";
@@ -20,25 +20,30 @@ __DEV__ &&
2020
function createPortal$1(children, containerInfo, implementation) {
2121
var key =
2222
3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
23-
try {
24-
testStringCoercion(key);
25-
var JSCompiler_inline_result = !1;
26-
} catch (e) {
27-
JSCompiler_inline_result = !0;
23+
if (null == key) key = null;
24+
else if (key === REACT_OPTIMISTIC_KEY) key = REACT_OPTIMISTIC_KEY;
25+
else {
26+
try {
27+
testStringCoercion(key);
28+
var JSCompiler_inline_result = !1;
29+
} catch (e) {
30+
JSCompiler_inline_result = !0;
31+
}
32+
JSCompiler_inline_result &&
33+
(console.error(
34+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
35+
("function" === typeof Symbol &&
36+
Symbol.toStringTag &&
37+
key[Symbol.toStringTag]) ||
38+
key.constructor.name ||
39+
"Object"
40+
),
41+
testStringCoercion(key));
42+
key = "" + key;
2843
}
29-
JSCompiler_inline_result &&
30-
(console.error(
31-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
32-
("function" === typeof Symbol &&
33-
Symbol.toStringTag &&
34-
key[Symbol.toStringTag]) ||
35-
key.constructor.name ||
36-
"Object"
37-
),
38-
testStringCoercion(key));
3944
return {
4045
$$typeof: REACT_PORTAL_TYPE,
41-
key: null == key ? null : "" + key,
46+
key: key,
4247
children: children,
4348
containerInfo: containerInfo,
4449
implementation: implementation
@@ -100,6 +105,7 @@ __DEV__ &&
100105
findDOMNode: null
101106
},
102107
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
108+
REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"),
103109
ReactSharedInternals =
104110
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
105111
("function" === typeof Map &&
@@ -404,5 +410,5 @@ __DEV__ &&
404410
exports.useFormStatus = function () {
405411
return resolveDispatcher().useHostTransitionStatus();
406412
};
407-
exports.version = "19.2.0-native-fb-5063b328-20250815";
413+
exports.version = "19.3.0-native-fb-8374c2ab-20260211";
408414
})();

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

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

1313
"use strict";
@@ -45,13 +45,19 @@ var Internals = {
4545
p: 0,
4646
findDOMNode: null
4747
},
48-
REACT_PORTAL_TYPE = Symbol.for("react.portal");
48+
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
49+
REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key");
4950
function createPortal$1(children, containerInfo, implementation) {
5051
var key =
5152
3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
5253
return {
5354
$$typeof: REACT_PORTAL_TYPE,
54-
key: null == key ? null : "" + key,
55+
key:
56+
null == key
57+
? null
58+
: key === REACT_OPTIMISTIC_KEY
59+
? REACT_OPTIMISTIC_KEY
60+
: "" + key,
5561
children: children,
5662
containerInfo: containerInfo,
5763
implementation: implementation
@@ -203,4 +209,4 @@ exports.useFormState = function (action, initialState, permalink) {
203209
exports.useFormStatus = function () {
204210
return ReactSharedInternals.H.useHostTransitionStatus();
205211
};
206-
exports.version = "19.2.0-native-fb-5063b328-20250815";
212+
exports.version = "19.3.0-native-fb-8374c2ab-20260211";

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

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

1313
"use strict";
@@ -45,13 +45,19 @@ var Internals = {
4545
p: 0,
4646
findDOMNode: null
4747
},
48-
REACT_PORTAL_TYPE = Symbol.for("react.portal");
48+
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
49+
REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key");
4950
function createPortal$1(children, containerInfo, implementation) {
5051
var key =
5152
3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
5253
return {
5354
$$typeof: REACT_PORTAL_TYPE,
54-
key: null == key ? null : "" + key,
55+
key:
56+
null == key
57+
? null
58+
: key === REACT_OPTIMISTIC_KEY
59+
? REACT_OPTIMISTIC_KEY
60+
: "" + key,
5561
children: children,
5662
containerInfo: containerInfo,
5763
implementation: implementation
@@ -203,4 +209,4 @@ exports.useFormState = function (action, initialState, permalink) {
203209
exports.useFormStatus = function () {
204210
return ReactSharedInternals.H.useHostTransitionStatus();
205211
};
206-
exports.version = "19.2.0-native-fb-5063b328-20250815";
212+
exports.version = "19.3.0-native-fb-8374c2ab-20260211";

0 commit comments

Comments
 (0)