Skip to content

Commit a85aedc

Browse files
committed
Attempt to fix diff syncing for Meta (#28801)
#28796 broke Meta's PR syncing tool, hoping this fixes it DiffTrain build for [64c8d2d](64c8d2d)
1 parent e992aaa commit a85aedc

9 files changed

+35
-30
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7f93cb41c8e1352eec158e508bc612025425266d
1+
64c8d2d45d49dbb2f59ea23e5e739eb79e124abc

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if (__DEV__) {
2424
) {
2525
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
2626
}
27-
var ReactVersion = "19.0.0-www-classic-e729f4fd";
27+
var ReactVersion = "19.0.0-www-classic-8d3386cf";
2828

2929
// ATTENTION
3030
// When adding new symbols to this file,
@@ -2041,6 +2041,8 @@ if (__DEV__) {
20412041

20422042
if (config != null) {
20432043
if (hasValidRef(config)) {
2044+
owner = ReactSharedInternals.owner;
2045+
20442046
if (!enableRefAsProp) {
20452047
// Silently steal the ref from the parent.
20462048
ref = config.ref;
@@ -2049,8 +2051,6 @@ if (__DEV__) {
20492051
ref = coerceStringRef(ref, owner, element.type);
20502052
}
20512053
}
2052-
2053-
owner = ReactSharedInternals.owner;
20542054
}
20552055

20562056
if (hasValidKey(config)) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if (__DEV__) {
2424
) {
2525
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
2626
}
27-
var ReactVersion = "19.0.0-www-modern-e655a09b";
27+
var ReactVersion = "19.0.0-www-modern-337e1422";
2828

2929
// ATTENTION
3030
// When adding new symbols to this file,
@@ -2043,6 +2043,8 @@ if (__DEV__) {
20432043

20442044
if (config != null) {
20452045
if (hasValidRef(config)) {
2046+
owner = ReactSharedInternals.owner;
2047+
20462048
if (!enableRefAsProp) {
20472049
// Silently steal the ref from the parent.
20482050
ref = config.ref;
@@ -2051,8 +2053,6 @@ if (__DEV__) {
20512053
ref = coerceStringRef(ref, owner, element.type);
20522054
}
20532055
}
2054-
2055-
owner = ReactSharedInternals.owner;
20562056
}
20572057

20582058
if (hasValidKey(config)) {

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,10 @@ exports.cloneElement = function (element, config, children) {
457457
owner = element._owner;
458458
if (null != config) {
459459
void 0 !== config.ref &&
460-
(enableRefAsProp ||
461-
((ref = config.ref), (ref = coerceStringRef(ref, owner, element.type))),
462-
(owner = ReactSharedInternals.owner));
460+
((owner = ReactSharedInternals.owner),
461+
enableRefAsProp ||
462+
((ref = config.ref),
463+
(ref = coerceStringRef(ref, owner, element.type))));
463464
void 0 !== config.key && (key = "" + config.key);
464465
if (
465466
!disableDefaultPropsExceptForClasses &&
@@ -690,4 +691,4 @@ exports.useSyncExternalStore = function (
690691
exports.useTransition = function () {
691692
return ReactSharedInternals.H.useTransition();
692693
};
693-
exports.version = "19.0.0-www-classic-4b82ed06";
694+
exports.version = "19.0.0-www-classic-0eabe82a";

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,10 @@ exports.cloneElement = function (element, config, children) {
457457
owner = element._owner;
458458
if (null != config) {
459459
void 0 !== config.ref &&
460-
(enableRefAsProp ||
461-
((ref = config.ref), (ref = coerceStringRef(ref, owner, element.type))),
462-
(owner = ReactSharedInternals.owner));
460+
((owner = ReactSharedInternals.owner),
461+
enableRefAsProp ||
462+
((ref = config.ref),
463+
(ref = coerceStringRef(ref, owner, element.type))));
463464
void 0 !== config.key && (key = "" + config.key);
464465
if (
465466
!disableDefaultPropsExceptForClasses &&
@@ -690,4 +691,4 @@ exports.useSyncExternalStore = function (
690691
exports.useTransition = function () {
691692
return ReactSharedInternals.H.useTransition();
692693
};
693-
exports.version = "19.0.0-www-modern-4b82ed06";
694+
exports.version = "19.0.0-www-modern-0eabe82a";

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,10 @@ exports.cloneElement = function (element, config, children) {
461461
owner = element._owner;
462462
if (null != config) {
463463
void 0 !== config.ref &&
464-
(enableRefAsProp ||
465-
((ref = config.ref), (ref = coerceStringRef(ref, owner, element.type))),
466-
(owner = ReactSharedInternals.owner));
464+
((owner = ReactSharedInternals.owner),
465+
enableRefAsProp ||
466+
((ref = config.ref),
467+
(ref = coerceStringRef(ref, owner, element.type))));
467468
void 0 !== config.key && (key = "" + config.key);
468469
if (
469470
!disableDefaultPropsExceptForClasses &&
@@ -694,7 +695,7 @@ exports.useSyncExternalStore = function (
694695
exports.useTransition = function () {
695696
return ReactSharedInternals.H.useTransition();
696697
};
697-
exports.version = "19.0.0-www-classic-1e341207";
698+
exports.version = "19.0.0-www-classic-aab80d0a";
698699
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
699700
"function" ===
700701
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,10 @@ exports.cloneElement = function (element, config, children) {
461461
owner = element._owner;
462462
if (null != config) {
463463
void 0 !== config.ref &&
464-
(enableRefAsProp ||
465-
((ref = config.ref), (ref = coerceStringRef(ref, owner, element.type))),
466-
(owner = ReactSharedInternals.owner));
464+
((owner = ReactSharedInternals.owner),
465+
enableRefAsProp ||
466+
((ref = config.ref),
467+
(ref = coerceStringRef(ref, owner, element.type))));
467468
void 0 !== config.key && (key = "" + config.key);
468469
if (
469470
!disableDefaultPropsExceptForClasses &&
@@ -694,7 +695,7 @@ exports.useSyncExternalStore = function (
694695
exports.useTransition = function () {
695696
return ReactSharedInternals.H.useTransition();
696697
};
697-
exports.version = "19.0.0-www-modern-1e341207";
698+
exports.version = "19.0.0-www-modern-aab80d0a";
698699
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
699700
"function" ===
700701
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,6 +1767,8 @@ if (__DEV__) {
17671767

17681768
if (config != null) {
17691769
if (hasValidRef(config)) {
1770+
owner = ReactSharedInternals.owner;
1771+
17701772
if (!enableRefAsProp) {
17711773
// Silently steal the ref from the parent.
17721774
ref = config.ref;
@@ -1775,8 +1777,6 @@ if (__DEV__) {
17751777
ref = coerceStringRef(ref, owner, element.type);
17761778
}
17771779
}
1778-
1779-
owner = ReactSharedInternals.owner;
17801780
}
17811781

17821782
if (hasValidKey(config)) {
@@ -3083,7 +3083,7 @@ if (__DEV__) {
30833083

30843084
function noop() {}
30853085

3086-
var ReactVersion = "19.0.0-www-modern-f42736d9";
3086+
var ReactVersion = "19.0.0-www-modern-a3494f1d";
30873087

30883088
// Patch fetch
30893089
var Children = {

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -439,9 +439,10 @@ exports.cloneElement = function (element, config, children) {
439439
owner = element._owner;
440440
if (null != config) {
441441
void 0 !== config.ref &&
442-
(enableRefAsProp ||
443-
((ref = config.ref), (ref = coerceStringRef(ref, owner, element.type))),
444-
(owner = ReactSharedInternals.owner));
442+
((owner = ReactSharedInternals.owner),
443+
enableRefAsProp ||
444+
((ref = config.ref),
445+
(ref = coerceStringRef(ref, owner, element.type))));
445446
void 0 !== config.key && (key = "" + config.key);
446447
if (
447448
!disableDefaultPropsExceptForClasses &&
@@ -587,4 +588,4 @@ exports.useId = function () {
587588
exports.useMemo = function (create, deps) {
588589
return ReactSharedInternals.H.useMemo(create, deps);
589590
};
590-
exports.version = "19.0.0-www-modern-bd5b5e6e";
591+
exports.version = "19.0.0-www-modern-3ff8d311";

0 commit comments

Comments
 (0)