Skip to content

Commit

Permalink
Land useModernStrictMode in www (facebook#28696)
Browse files Browse the repository at this point in the history
this has landed
  • Loading branch information
rickhanlonii authored and AndyPengc12 committed Apr 15, 2024
1 parent 084d1be commit 561700a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/shared/forks/ReactFeatureFlags.www-dynamic.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export const alwaysThrottleRetries = __VARIANT__;
export const enableDO_NOT_USE_disableStrictPassiveEffect = __VARIANT__;
export const enableUseDeferredValueInitialArg = __VARIANT__;
export const enableRenderableContext = __VARIANT__;
export const useModernStrictMode = __VARIANT__;
export const enableRefAsProp = __VARIANT__;
export const enableRetryLaneExpiration = __VARIANT__;
export const favorSafetyOverHydrationPerf = __VARIANT__;
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/forks/ReactFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export const {
transitionLaneExpirationMs,
enableInfiniteRenderLoopDetection,
enableRenderableContext,
useModernStrictMode,
enableRefAsProp,
favorSafetyOverHydrationPerf,
} = dynamicFeatureFlags;
Expand Down Expand Up @@ -109,6 +108,7 @@ export const enableServerComponentKeys = true;
export const enableServerComponentLogs = true;

export const enableReactTestRendererWarning = false;
export const useModernStrictMode = true;

// TODO: Roll out with GK. Don't keep as dynamic flag for too long, though,
// because JSX is an extremely hot path.
Expand Down

0 comments on commit 561700a

Please sign in to comment.