Skip to content

Commit 187567b

Browse files
committed
Enable the StrictEffects flag
1 parent d75105f commit 187567b

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
@@ -25,7 +25,7 @@ export const debugRenderPhaseSideEffectsForStrictMode = __DEV__;
2525

2626
// Helps identify code that is not safe for planned Offscreen API and Suspense semantics;
2727
// this feature flag only impacts StrictEffectsMode.
28-
export const enableStrictEffects = false;
28+
export const enableStrictEffects = true;
2929

3030
// If TRUE, trees rendered with createRoot will be StrictEffectsMode.
3131
// If FALSE, these trees will be StrictLegacyMode.

0 commit comments

Comments
 (0)