Skip to content

Commit 68fccfe

Browse files
committed
Make enableBigIntSupport a dynamic flag for Meta
Should be an easy launch, but let's make this a dynamic flag to be safe.
1 parent f09e159 commit 68fccfe

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/shared/forks/ReactFeatureFlags.native-fb-dynamic.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export const alwaysThrottleDisappearingFallbacks = __VARIANT__;
2121
export const alwaysThrottleRetries = __VARIANT__;
2222
export const consoleManagedByDevToolsDuringStrictMode = __VARIANT__;
2323
export const enableAsyncActions = __VARIANT__;
24+
export const enableBigIntSupport = __VARIANT__;
2425
export const enableComponentStackLocations = __VARIANT__;
2526
export const enableDeferRootSchedulingToMicrotask = __VARIANT__;
2627
export const enableInfiniteRenderLoopDetection = __VARIANT__;

packages/shared/forks/ReactFeatureFlags.native-fb.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const {
2323
alwaysThrottleRetries,
2424
consoleManagedByDevToolsDuringStrictMode,
2525
enableAsyncActions,
26+
enableBigIntSupport,
2627
enableComponentStackLocations,
2728
enableDeferRootSchedulingToMicrotask,
2829
enableInfiniteRenderLoopDetection,
@@ -103,7 +104,5 @@ export const disableStringRefs = false;
103104
export const enableReactTestRendererWarning = false;
104105
export const disableLegacyMode = false;
105106

106-
export const enableBigIntSupport = false;
107-
108107
// Flow magic to verify the exports of this file match the original version.
109108
((((null: any): ExportsType): FeatureFlagsType): ExportsType);

packages/shared/forks/ReactFeatureFlags.test-renderer.www.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const disableStringRefs = false;
9393
export const enableReactTestRendererWarning = false;
9494
export const disableLegacyMode = false;
9595

96-
export const enableBigIntSupport = false;
96+
export const enableBigIntSupport = true;
9797

9898
// Flow magic to verify the exports of this file match the original version.
9999
((((null: any): ExportsType): FeatureFlagsType): ExportsType);

packages/shared/forks/ReactFeatureFlags.www-dynamic.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
export const disableInputAttributeSyncing = __VARIANT__;
1717
export const disableIEWorkarounds = __VARIANT__;
18+
export const enableBigIntSupport = __VARIANT__;
1819
export const enableLegacyFBSupport = __VARIANT__;
1920
export const enableUseRefAccessWarning = __VARIANT__;
2021
export const disableSchedulerTimeoutInWorkLoop = __VARIANT__;

packages/shared/forks/ReactFeatureFlags.www.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const dynamicFeatureFlags: DynamicFeatureFlags = require('ReactFeatureFlags');
1717
export const {
1818
disableInputAttributeSyncing,
1919
disableIEWorkarounds,
20+
enableBigIntSupport,
2021
enableTrustedTypesIntegration,
2122
enableLegacyFBSupport,
2223
enableDebugTracing,
@@ -117,8 +118,6 @@ export const enableServerComponentLogs = true;
117118

118119
export const enableReactTestRendererWarning = false;
119120

120-
export const enableBigIntSupport = false;
121-
122121
// TODO: Roll out with GK. Don't keep as dynamic flag for too long, though,
123122
// because JSX is an extremely hot path.
124123
export const disableStringRefs = false;

0 commit comments

Comments
 (0)