Skip to content

Commit 848cc06

Browse files
committed
Move modern strict to experimental
1 parent 4d6c47b commit 848cc06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/ReactFeatureFlags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export const disableJavaScriptURLs = false;
147147
// Modern <StrictMode /> behaviour aligns more with what components
148148
// components will encounter in production, especially when used With <Offscreen />.
149149
// TODO: clean up legacy <StrictMode /> once tests pass WWW.
150-
export const useModernStrictMode = false;
150+
export const useModernStrictMode = __NEXT_MAJOR__;
151151

152152
// Not ready to break experimental yet.
153153
// Remove IE and MsApp specific workarounds for innerHTML

0 commit comments

Comments
 (0)