mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[Fizz] Check for nullish values on ReactCustomFormAction (#26770)
Usually we don't have to do this since we only set these in the loop but the ReactCustomFormAction props are optional so they might be undefined. Also moved it to a general type since it's a semi-public API. DiffTrain build for commit https://github.com/facebook/react/commit/fa7a447b9ce5a4f0be592fc2946380b0fa3b29c0.
This commit is contained in:
+1
-1
@@ -23918,7 +23918,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-canary-b7972822b-20230503";
|
||||
var ReactVersion = "18.3.0-canary-fa7a447b9-20230503";
|
||||
|
||||
// Might add PROFILE later.
|
||||
|
||||
|
||||
+2
-2
@@ -8623,7 +8623,7 @@ var devToolsConfig$jscomp$inline_1039 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-b7972822b-20230503",
|
||||
version: "18.3.0-canary-fa7a447b9-20230503",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1238 = {
|
||||
@@ -8654,7 +8654,7 @@ var internals$jscomp$inline_1238 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-b7972822b-20230503"
|
||||
reconcilerVersion: "18.3.0-canary-fa7a447b9-20230503"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1239 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+2
-2
@@ -9049,7 +9049,7 @@ var devToolsConfig$jscomp$inline_1081 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-b7972822b-20230503",
|
||||
version: "18.3.0-canary-fa7a447b9-20230503",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1279 = {
|
||||
@@ -9080,7 +9080,7 @@ var internals$jscomp$inline_1279 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-b7972822b-20230503"
|
||||
reconcilerVersion: "18.3.0-canary-fa7a447b9-20230503"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1280 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ if (
|
||||
}
|
||||
"use strict";
|
||||
|
||||
var ReactVersion = "18.3.0-canary-b7972822b-20230503";
|
||||
var ReactVersion = "18.3.0-canary-fa7a447b9-20230503";
|
||||
|
||||
// ATTENTION
|
||||
// When adding new symbols to this file,
|
||||
|
||||
+1
-1
@@ -642,4 +642,4 @@ exports.useSyncExternalStore = function (
|
||||
);
|
||||
};
|
||||
exports.useTransition = useTransition;
|
||||
exports.version = "18.3.0-canary-b7972822b-20230503";
|
||||
exports.version = "18.3.0-canary-fa7a447b9-20230503";
|
||||
|
||||
+1
-1
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
|
||||
);
|
||||
};
|
||||
exports.useTransition = useTransition;
|
||||
exports.version = "18.3.0-canary-b7972822b-20230503";
|
||||
exports.version = "18.3.0-canary-fa7a447b9-20230503";
|
||||
|
||||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
||||
if (
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
b7972822b5887d05ae772ef757a453265b4b7aec
|
||||
fa7a447b9ce5a4f0be592fc2946380b0fa3b29c0
|
||||
|
||||
Reference in New Issue
Block a user