mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
DevTools: Add support for useFormState (#28232)
## Summary Add support for `useFormState` Hook fixing "Unsupported hook in the react-debug-tools package: Missing method in Dispatcher: useFormState" when inspecting components using `useFormState` ## How did you test this change? - Added test to ReactHooksInspectionIntegration - Added dedicated section for form actions to devtools-shell  DiffTrain build for commit https://github.com/facebook/react/commit/56cd10beb40586d09e91157e8f6ac531478a62be.
This commit is contained in:
+1
-1
@@ -25622,7 +25622,7 @@ if (__DEV__) {
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-canary-214fe84f5-20240204";
|
||||
var ReactVersion = "18.3.0-canary-56cd10beb-20240205";
|
||||
|
||||
// Might add PROFILE later.
|
||||
|
||||
|
||||
+2
-2
@@ -9171,7 +9171,7 @@ var devToolsConfig$jscomp$inline_1012 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-214fe84f5-20240204",
|
||||
version: "18.3.0-canary-56cd10beb-20240205",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1190 = {
|
||||
@@ -9202,7 +9202,7 @@ var internals$jscomp$inline_1190 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-214fe84f5-20240204"
|
||||
reconcilerVersion: "18.3.0-canary-56cd10beb-20240205"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1191 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+2
-2
@@ -9599,7 +9599,7 @@ var devToolsConfig$jscomp$inline_1054 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-214fe84f5-20240204",
|
||||
version: "18.3.0-canary-56cd10beb-20240205",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1231 = {
|
||||
@@ -9630,7 +9630,7 @@ var internals$jscomp$inline_1231 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-214fe84f5-20240204"
|
||||
reconcilerVersion: "18.3.0-canary-56cd10beb-20240205"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1232 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ if (__DEV__) {
|
||||
) {
|
||||
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
||||
}
|
||||
var ReactVersion = "18.3.0-canary-214fe84f5-20240204";
|
||||
var ReactVersion = "18.3.0-canary-56cd10beb-20240205";
|
||||
|
||||
// ATTENTION
|
||||
// When adding new symbols to this file,
|
||||
|
||||
+1
-1
@@ -545,4 +545,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactCurrentDispatcher.current.useTransition();
|
||||
};
|
||||
exports.version = "18.3.0-canary-214fe84f5-20240204";
|
||||
exports.version = "18.3.0-canary-56cd10beb-20240205";
|
||||
|
||||
+1
-1
@@ -541,7 +541,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactCurrentDispatcher.current.useTransition();
|
||||
};
|
||||
exports.version = "18.3.0-canary-214fe84f5-20240204";
|
||||
exports.version = "18.3.0-canary-56cd10beb-20240205";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
214fe84f53c5ba9d40c3427b72c5e6fb9be830e5
|
||||
56cd10beb40586d09e91157e8f6ac531478a62be
|
||||
|
||||
Reference in New Issue
Block a user