From 19e6a0ce3271e9b9895aca36e81baef7216f5145 Mon Sep 17 00:00:00 2001 From: Strek Date: Fri, 17 Mar 2023 15:05:45 +0530 Subject: [PATCH] chore: change to correct link (#5708) --- beta/src/content/reference/react/StrictMode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beta/src/content/reference/react/StrictMode.md b/beta/src/content/reference/react/StrictMode.md index c994faf7..b7ca2227 100644 --- a/beta/src/content/reference/react/StrictMode.md +++ b/beta/src/content/reference/react/StrictMode.md @@ -77,7 +77,7 @@ root.render( ); ``` -We recommend wrapping your entire app in Strict Mode, especially for newly created apps. If you use a framework that calls [`createRoot`](/reference/react/createRoot) for you, check its documentation for how to enable Strict Mode. +We recommend wrapping your entire app in Strict Mode, especially for newly created apps. If you use a framework that calls [`createRoot`](/reference/react-dom/client/createRoot) for you, check its documentation for how to enable Strict Mode. Although the Strict Mode checks **only run in development,** they help you find bugs that already exist in your code but can be tricky to reliably reproduce in production. Strict Mode lets you fix bugs before your users report them.