Skip to content

Commit

Permalink
Turn on useModernStrictMode in test renderers (#31769)
Browse files Browse the repository at this point in the history
It's on everywhere else, let's turn this on so we can remove it. 

Probably should have been turned on in the test renderer for 19.
  • Loading branch information
rickhanlonii authored Dec 17, 2024
1 parent 8a7b306 commit 8dab592
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/shared/forks/ReactFeatureFlags.test-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const enableLegacyHidden = false;

export const enableTransitionTracing = false;

export const useModernStrictMode = false;
export const useModernStrictMode = true;
export const enableDO_NOT_USE_disableStrictPassiveEffect = false;
export const enableFizzExternalRuntime = true;
export const enableDeferRootSchedulingToMicrotask = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const enableLegacyHidden = false;

export const enableTransitionTracing = false;

export const useModernStrictMode = false;
export const useModernStrictMode = true;
export const enableDO_NOT_USE_disableStrictPassiveEffect = false;
export const enableFizzExternalRuntime = false;
export const enableDeferRootSchedulingToMicrotask = true;
Expand Down

0 comments on commit 8dab592

Please sign in to comment.