mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix strict mode badge URL (#26825)
## Summary Closes https://github.com/facebook/react/issues/26821 [[Fix #26821]](https://github.com/facebook/react/issues/26821) Update strict mode badge URL Updated the URL in the strict mode badge to point to the correct React documentation for StrictMode. The previous URL was outdated. Now, when a component is not running in StrictMode, the badge links to https://react.dev/reference/react/StrictMode for more information. ## How did you test this change? I verified that the strict mode badge now correctly links to the updated URL. Previously, it pointed to the outdated URL (https://fb.me/devtools-strict-mode). After the update, it correctly points to the React Dev documentation for StrictMode (https://react.dev/reference/react/StrictMode). _Since its my first contribution here, i have completed the CLA_ DiffTrain build for commit https://github.com/facebook/react/commit/d7a98a5e97c3512ba43dd809337ae1691df1ae66.
This commit is contained in:
+1
-1
@@ -23930,7 +23930,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-canary-2468a8735-20230517";
|
||||
var ReactVersion = "18.3.0-canary-d7a98a5e9-20230517";
|
||||
|
||||
// Might add PROFILE later.
|
||||
|
||||
|
||||
+2
-2
@@ -8617,7 +8617,7 @@ var devToolsConfig$jscomp$inline_1036 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-2468a8735-20230517",
|
||||
version: "18.3.0-canary-d7a98a5e9-20230517",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1235 = {
|
||||
@@ -8648,7 +8648,7 @@ var internals$jscomp$inline_1235 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-2468a8735-20230517"
|
||||
reconcilerVersion: "18.3.0-canary-d7a98a5e9-20230517"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1236 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+2
-2
@@ -9043,7 +9043,7 @@ var devToolsConfig$jscomp$inline_1078 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-2468a8735-20230517",
|
||||
version: "18.3.0-canary-d7a98a5e9-20230517",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1276 = {
|
||||
@@ -9074,7 +9074,7 @@ var internals$jscomp$inline_1276 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-2468a8735-20230517"
|
||||
reconcilerVersion: "18.3.0-canary-d7a98a5e9-20230517"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1277 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ if (
|
||||
}
|
||||
"use strict";
|
||||
|
||||
var ReactVersion = "18.3.0-canary-2468a8735-20230517";
|
||||
var ReactVersion = "18.3.0-canary-d7a98a5e9-20230517";
|
||||
|
||||
// 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-2468a8735-20230517";
|
||||
exports.version = "18.3.0-canary-d7a98a5e9-20230517";
|
||||
|
||||
+1
-1
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
|
||||
);
|
||||
};
|
||||
exports.useTransition = useTransition;
|
||||
exports.version = "18.3.0-canary-2468a8735-20230517";
|
||||
exports.version = "18.3.0-canary-d7a98a5e9-20230517";
|
||||
|
||||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
||||
if (
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
2468a87358de55137508e777846746091d7a1514
|
||||
d7a98a5e97c3512ba43dd809337ae1691df1ae66
|
||||
|
||||
Reference in New Issue
Block a user