Skip to content

Commit ade1b63

Browse files
committed
Permit non-DEV Elements in React.Children w/ DEV (#32117)
DiffTrain build for [9ff42a8](9ff42a8)
1 parent a957226 commit ade1b63

34 files changed

+90
-88
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4b3728f05efbab9624e981339d8a0992a58f9a41
1+
9ff42a8798863c995523e284142b47e3cdfaee80
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4b3728f05efbab9624e981339d8a0992a58f9a41
1+
9ff42a8798863c995523e284142b47e3cdfaee80

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,8 @@ __DEV__ &&
692692
enableOwnerStacks ? oldElement._debugStack : void 0,
693693
enableOwnerStacks ? oldElement._debugTask : void 0
694694
);
695-
newKey._store.validated = oldElement._store.validated;
695+
oldElement._store &&
696+
(newKey._store.validated = oldElement._store.validated);
696697
return newKey;
697698
}
698699
function validateChildKeys(node, parentType) {
@@ -1957,7 +1958,7 @@ __DEV__ &&
19571958
exports.useTransition = function () {
19581959
return resolveDispatcher().useTransition();
19591960
};
1960-
exports.version = "19.1.0-www-classic-4b3728f0-20250130";
1961+
exports.version = "19.1.0-www-classic-9ff42a87-20250130";
19611962
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19621963
"function" ===
19631964
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,8 @@ __DEV__ &&
692692
enableOwnerStacks ? oldElement._debugStack : void 0,
693693
enableOwnerStacks ? oldElement._debugTask : void 0
694694
);
695-
newKey._store.validated = oldElement._store.validated;
695+
oldElement._store &&
696+
(newKey._store.validated = oldElement._store.validated);
696697
return newKey;
697698
}
698699
function validateChildKeys(node, parentType) {
@@ -1957,7 +1958,7 @@ __DEV__ &&
19571958
exports.useTransition = function () {
19581959
return resolveDispatcher().useTransition();
19591960
};
1960-
exports.version = "19.1.0-www-modern-4b3728f0-20250130";
1961+
exports.version = "19.1.0-www-modern-9ff42a87-20250130";
19611962
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19621963
"function" ===
19631964
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
@@ -630,4 +630,4 @@ exports.useSyncExternalStore = function (
630630
exports.useTransition = function () {
631631
return ReactSharedInternals.H.useTransition();
632632
};
633-
exports.version = "19.1.0-www-classic-4b3728f0-20250130";
633+
exports.version = "19.1.0-www-classic-9ff42a87-20250130";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,4 +630,4 @@ exports.useSyncExternalStore = function (
630630
exports.useTransition = function () {
631631
return ReactSharedInternals.H.useTransition();
632632
};
633-
exports.version = "19.1.0-www-modern-4b3728f0-20250130";
633+
exports.version = "19.1.0-www-modern-9ff42a87-20250130";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ exports.useSyncExternalStore = function (
634634
exports.useTransition = function () {
635635
return ReactSharedInternals.H.useTransition();
636636
};
637-
exports.version = "19.1.0-www-classic-4b3728f0-20250130";
637+
exports.version = "19.1.0-www-classic-9ff42a87-20250130";
638638
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
639639
"function" ===
640640
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
@@ -634,7 +634,7 @@ exports.useSyncExternalStore = function (
634634
exports.useTransition = function () {
635635
return ReactSharedInternals.H.useTransition();
636636
};
637-
exports.version = "19.1.0-www-modern-4b3728f0-20250130";
637+
exports.version = "19.1.0-www-modern-9ff42a87-20250130";
638638
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
639639
"function" ===
640640
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16935,10 +16935,10 @@ __DEV__ &&
1693516935
(function () {
1693616936
var internals = {
1693716937
bundleType: 1,
16938-
version: "19.1.0-www-classic-4b3728f0-20250130",
16938+
version: "19.1.0-www-classic-9ff42a87-20250130",
1693916939
rendererPackageName: "react-art",
1694016940
currentDispatcherRef: ReactSharedInternals,
16941-
reconcilerVersion: "19.1.0-www-classic-4b3728f0-20250130"
16941+
reconcilerVersion: "19.1.0-www-classic-9ff42a87-20250130"
1694216942
};
1694316943
internals.overrideHookState = overrideHookState;
1694416944
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16972,7 +16972,7 @@ __DEV__ &&
1697216972
exports.Shape = Shape;
1697316973
exports.Surface = Surface;
1697416974
exports.Text = Text;
16975-
exports.version = "19.1.0-www-classic-4b3728f0-20250130";
16975+
exports.version = "19.1.0-www-classic-9ff42a87-20250130";
1697616976
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1697716977
"function" ===
1697816978
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16707,10 +16707,10 @@ __DEV__ &&
1670716707
(function () {
1670816708
var internals = {
1670916709
bundleType: 1,
16710-
version: "19.1.0-www-modern-4b3728f0-20250130",
16710+
version: "19.1.0-www-modern-9ff42a87-20250130",
1671116711
rendererPackageName: "react-art",
1671216712
currentDispatcherRef: ReactSharedInternals,
16713-
reconcilerVersion: "19.1.0-www-modern-4b3728f0-20250130"
16713+
reconcilerVersion: "19.1.0-www-modern-9ff42a87-20250130"
1671416714
};
1671516715
internals.overrideHookState = overrideHookState;
1671616716
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16744,7 +16744,7 @@ __DEV__ &&
1674416744
exports.Shape = Shape;
1674516745
exports.Surface = Surface;
1674616746
exports.Text = Text;
16747-
exports.version = "19.1.0-www-modern-4b3728f0-20250130";
16747+
exports.version = "19.1.0-www-modern-9ff42a87-20250130";
1674816748
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1674916749
"function" ===
1675016750
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)