From e46b1e8b9bf075c4759edea1fbb08bac4fb1950b Mon Sep 17 00:00:00 2001 From: Sebastian Silbermann Date: Mon, 26 Feb 2024 19:23:55 +0100 Subject: [PATCH] Make enableBigIntSupport www dynamic --- packages/shared/forks/ReactFeatureFlags.www-dynamic.js | 1 + packages/shared/forks/ReactFeatureFlags.www.js | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/shared/forks/ReactFeatureFlags.www-dynamic.js b/packages/shared/forks/ReactFeatureFlags.www-dynamic.js index 7343b8c1c4732..4985abc136487 100644 --- a/packages/shared/forks/ReactFeatureFlags.www-dynamic.js +++ b/packages/shared/forks/ReactFeatureFlags.www-dynamic.js @@ -31,6 +31,7 @@ export const useModernStrictMode = __VARIANT__; export const enableRefAsProp = __VARIANT__; export const enableClientRenderFallbackOnTextMismatch = __VARIANT__; export const enableRetryLaneExpiration = __VARIANT__; +export const enableBigIntSupport = __VARIANT__; export const retryLaneExpirationMs = 5000; export const syncLaneExpirationMs = 250; export const transitionLaneExpirationMs = 5000; diff --git a/packages/shared/forks/ReactFeatureFlags.www.js b/packages/shared/forks/ReactFeatureFlags.www.js index d2364057ecadf..1e169e80ac66c 100644 --- a/packages/shared/forks/ReactFeatureFlags.www.js +++ b/packages/shared/forks/ReactFeatureFlags.www.js @@ -38,6 +38,7 @@ export const { useModernStrictMode, enableRefAsProp, enableClientRenderFallbackOnTextMismatch, + enableBigIntSupport, } = dynamicFeatureFlags; // On WWW, __EXPERIMENTAL__ is used for a new modern build. @@ -118,8 +119,6 @@ export const enableServerComponentLogs = true; export const enableReactTestRendererWarning = false; -export const enableBigIntSupport = false; - // TODO: Roll out with GK. Don't keep as dynamic flag for too long, though, // because JSX is an extremely hot path. export const disableStringRefs = false;