Skip to content

Commit d01c7a5

Browse files
committed
[DevTools] Name root "Transition" when focusing on Activity (facebook#35108)
DiffTrain build for [194c12d](facebook@194c12d)
1 parent afecd4e commit d01c7a5

23 files changed

+245
-393
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.3.0-native-fb-eb89912e-20251118
1+
19.3.0-native-fb-194c12d9-20251118

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

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

1313
"use strict";
@@ -20,30 +20,25 @@ __DEV__ &&
2020
function createPortal$1(children, containerInfo, implementation) {
2121
var key =
2222
3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
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;
23+
try {
24+
testStringCoercion(key);
25+
var JSCompiler_inline_result = !1;
26+
} catch (e) {
27+
JSCompiler_inline_result = !0;
4328
}
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));
4439
return {
4540
$$typeof: REACT_PORTAL_TYPE,
46-
key: key,
41+
key: null == key ? null : "" + key,
4742
children: children,
4843
containerInfo: containerInfo,
4944
implementation: implementation
@@ -105,7 +100,6 @@ __DEV__ &&
105100
findDOMNode: null
106101
},
107102
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
108-
REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"),
109103
ReactSharedInternals =
110104
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
111105
("function" === typeof Map &&
@@ -410,5 +404,5 @@ __DEV__ &&
410404
exports.useFormStatus = function () {
411405
return resolveDispatcher().useHostTransitionStatus();
412406
};
413-
exports.version = "19.3.0-native-fb-eb89912e-20251118";
407+
exports.version = "19.3.0-native-fb-194c12d9-20251118";
414408
})();

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

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

1313
"use strict";
@@ -45,19 +45,13 @@ var Internals = {
4545
p: 0,
4646
findDOMNode: null
4747
},
48-
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
49-
REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key");
48+
REACT_PORTAL_TYPE = Symbol.for("react.portal");
5049
function createPortal$1(children, containerInfo, implementation) {
5150
var key =
5251
3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
5352
return {
5453
$$typeof: REACT_PORTAL_TYPE,
55-
key:
56-
null == key
57-
? null
58-
: key === REACT_OPTIMISTIC_KEY
59-
? REACT_OPTIMISTIC_KEY
60-
: "" + key,
54+
key: null == key ? null : "" + key,
6155
children: children,
6256
containerInfo: containerInfo,
6357
implementation: implementation
@@ -209,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
209203
exports.useFormStatus = function () {
210204
return ReactSharedInternals.H.useHostTransitionStatus();
211205
};
212-
exports.version = "19.3.0-native-fb-eb89912e-20251118";
206+
exports.version = "19.3.0-native-fb-194c12d9-20251118";

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

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

1313
"use strict";
@@ -45,19 +45,13 @@ var Internals = {
4545
p: 0,
4646
findDOMNode: null
4747
},
48-
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
49-
REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key");
48+
REACT_PORTAL_TYPE = Symbol.for("react.portal");
5049
function createPortal$1(children, containerInfo, implementation) {
5150
var key =
5251
3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
5352
return {
5453
$$typeof: REACT_PORTAL_TYPE,
55-
key:
56-
null == key
57-
? null
58-
: key === REACT_OPTIMISTIC_KEY
59-
? REACT_OPTIMISTIC_KEY
60-
: "" + key,
54+
key: null == key ? null : "" + key,
6155
children: children,
6256
containerInfo: containerInfo,
6357
implementation: implementation
@@ -209,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
209203
exports.useFormStatus = function () {
210204
return ReactSharedInternals.H.useHostTransitionStatus();
211205
};
212-
exports.version = "19.3.0-native-fb-eb89912e-20251118";
206+
exports.version = "19.3.0-native-fb-194c12d9-20251118";

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

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

1313
/*
@@ -6527,9 +6527,9 @@ __DEV__ &&
65276527
}
65286528
function mapRemainingChildren(currentFirstChild) {
65296529
for (var existingChildren = new Map(); null !== currentFirstChild; )
6530-
null === currentFirstChild.key
6531-
? existingChildren.set(currentFirstChild.index, currentFirstChild)
6532-
: existingChildren.set(currentFirstChild.key, currentFirstChild),
6530+
null !== currentFirstChild.key
6531+
? existingChildren.set(currentFirstChild.key, currentFirstChild)
6532+
: existingChildren.set(currentFirstChild.index, currentFirstChild),
65336533
(currentFirstChild = currentFirstChild.sibling);
65346534
return existingChildren;
65356535
}
@@ -7049,11 +7049,10 @@ __DEV__ &&
70497049
knownKeys
70507050
)),
70517051
shouldTrackSideEffects &&
7052-
((newFiber = nextOldFiber.alternate),
7053-
null !== newFiber &&
7054-
oldFiber.delete(
7055-
null === newFiber.key ? newIdx : newFiber.key
7056-
)),
7052+
null !== nextOldFiber.alternate &&
7053+
oldFiber.delete(
7054+
null === nextOldFiber.key ? newIdx : nextOldFiber.key
7055+
),
70577056
(currentFirstChild = placeChild(
70587057
nextOldFiber,
70597058
currentFirstChild,
@@ -7162,9 +7161,10 @@ __DEV__ &&
71627161
knownKeys
71637162
)),
71647163
shouldTrackSideEffects &&
7165-
((step = nextOldFiber.alternate),
7166-
null !== step &&
7167-
oldFiber.delete(null === step.key ? newIdx : step.key)),
7164+
null !== nextOldFiber.alternate &&
7165+
oldFiber.delete(
7166+
null === nextOldFiber.key ? newIdx : nextOldFiber.key
7167+
),
71687168
(currentFirstChild = placeChild(
71697169
nextOldFiber,
71707170
currentFirstChild,
@@ -30242,11 +30242,11 @@ __DEV__ &&
3024230242
};
3024330243
(function () {
3024430244
var isomorphicReactPackageVersion = React.version;
30245-
if ("19.3.0-native-fb-eb89912e-20251118" !== isomorphicReactPackageVersion)
30245+
if ("19.3.0-native-fb-194c12d9-20251118" !== isomorphicReactPackageVersion)
3024630246
throw Error(
3024730247
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3024830248
(isomorphicReactPackageVersion +
30249-
"\n - react-dom: 19.3.0-native-fb-eb89912e-20251118\nLearn more: https://react.dev/warnings/version-mismatch")
30249+
"\n - react-dom: 19.3.0-native-fb-194c12d9-20251118\nLearn more: https://react.dev/warnings/version-mismatch")
3025030250
);
3025130251
})();
3025230252
("function" === typeof Map &&
@@ -30283,10 +30283,10 @@ __DEV__ &&
3028330283
!(function () {
3028430284
var internals = {
3028530285
bundleType: 1,
30286-
version: "19.3.0-native-fb-eb89912e-20251118",
30286+
version: "19.3.0-native-fb-194c12d9-20251118",
3028730287
rendererPackageName: "react-dom",
3028830288
currentDispatcherRef: ReactSharedInternals,
30289-
reconcilerVersion: "19.3.0-native-fb-eb89912e-20251118"
30289+
reconcilerVersion: "19.3.0-native-fb-194c12d9-20251118"
3029030290
};
3029130291
internals.overrideHookState = overrideHookState;
3029230292
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30436,5 +30436,5 @@ __DEV__ &&
3043630436
listenToAllSupportedEvents(container);
3043730437
return new ReactDOMHydrationRoot(initialChildren);
3043830438
};
30439-
exports.version = "19.3.0-native-fb-eb89912e-20251118";
30439+
exports.version = "19.3.0-native-fb-194c12d9-20251118";
3044030440
})();

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

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

1313
/*
@@ -3578,9 +3578,9 @@ function createChildReconciler(shouldTrackSideEffects) {
35783578
}
35793579
function mapRemainingChildren(currentFirstChild) {
35803580
for (var existingChildren = new Map(); null !== currentFirstChild; )
3581-
null === currentFirstChild.key
3582-
? existingChildren.set(currentFirstChild.index, currentFirstChild)
3583-
: existingChildren.set(currentFirstChild.key, currentFirstChild),
3581+
null !== currentFirstChild.key
3582+
? existingChildren.set(currentFirstChild.key, currentFirstChild)
3583+
: existingChildren.set(currentFirstChild.index, currentFirstChild),
35843584
(currentFirstChild = currentFirstChild.sibling);
35853585
return existingChildren;
35863586
}
@@ -3958,9 +3958,10 @@ function createChildReconciler(shouldTrackSideEffects) {
39583958
)),
39593959
null !== nextOldFiber &&
39603960
(shouldTrackSideEffects &&
3961-
((newFiber = nextOldFiber.alternate),
3962-
null !== newFiber &&
3963-
oldFiber.delete(null === newFiber.key ? newIdx : newFiber.key)),
3961+
null !== nextOldFiber.alternate &&
3962+
oldFiber.delete(
3963+
null === nextOldFiber.key ? newIdx : nextOldFiber.key
3964+
),
39643965
(currentFirstChild = placeChild(
39653966
nextOldFiber,
39663967
currentFirstChild,
@@ -4039,11 +4040,8 @@ function createChildReconciler(shouldTrackSideEffects) {
40394040
(step = updateFromMap(oldFiber, returnFiber, newIdx, step.value, lanes)),
40404041
null !== step &&
40414042
(shouldTrackSideEffects &&
4042-
((nextOldFiber = step.alternate),
4043-
null !== nextOldFiber &&
4044-
oldFiber.delete(
4045-
null === nextOldFiber.key ? newIdx : nextOldFiber.key
4046-
)),
4043+
null !== step.alternate &&
4044+
oldFiber.delete(null === step.key ? newIdx : step.key),
40474045
(currentFirstChild = placeChild(step, currentFirstChild, newIdx)),
40484046
null === previousNewFiber
40494047
? (resultingFirstChild = step)
@@ -17704,14 +17702,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1770417702
};
1770517703
var isomorphicReactPackageVersion$jscomp$inline_2054 = React.version;
1770617704
if (
17707-
"19.3.0-native-fb-eb89912e-20251118" !==
17705+
"19.3.0-native-fb-194c12d9-20251118" !==
1770817706
isomorphicReactPackageVersion$jscomp$inline_2054
1770917707
)
1771017708
throw Error(
1771117709
formatProdErrorMessage(
1771217710
527,
1771317711
isomorphicReactPackageVersion$jscomp$inline_2054,
17714-
"19.3.0-native-fb-eb89912e-20251118"
17712+
"19.3.0-native-fb-194c12d9-20251118"
1771517713
)
1771617714
);
1771717715
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17733,10 +17731,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1773317731
};
1773417732
var internals$jscomp$inline_2636 = {
1773517733
bundleType: 0,
17736-
version: "19.3.0-native-fb-eb89912e-20251118",
17734+
version: "19.3.0-native-fb-194c12d9-20251118",
1773717735
rendererPackageName: "react-dom",
1773817736
currentDispatcherRef: ReactSharedInternals,
17739-
reconcilerVersion: "19.3.0-native-fb-eb89912e-20251118"
17737+
reconcilerVersion: "19.3.0-native-fb-194c12d9-20251118"
1774017738
};
1774117739
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1774217740
var hook$jscomp$inline_2637 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17843,4 +17841,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1784317841
listenToAllSupportedEvents(container);
1784417842
return new ReactDOMHydrationRoot(initialChildren);
1784517843
};
17846-
exports.version = "19.3.0-native-fb-eb89912e-20251118";
17844+
exports.version = "19.3.0-native-fb-194c12d9-20251118";

0 commit comments

Comments
 (0)