@samitouri / QOS-React-2 / commits / d7a98a5e97

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_

Ibrahem Mahyob committed May 17, 2023 at 20:34 UTC d7a98a5e97c3512ba43dd809337ae1691df1ae66
1 file changed +1 -1
packages/react-devtools-shared/src/devtools/views/Components/InspectedElement.js
+1 -1
@@ -237,7 +237,7 @@ export default function InspectedElementWrapper(_: Props): React.Node {
237 strictModeBadge = (
238 <a
239 className={styles.StrictModeNonCompliant}
240 - href="https://fb.me/devtools-strict-mode"
240 + href="https://react.dev/reference/react/StrictMode"
241 rel="noopener noreferrer"
242 target="_blank"
243 title="This component is not running in StrictMode. Click to learn more.">