Skip to content

Commit a3fae14

Browse files
kassensAndyPengc12
authored andcommitted
Make enableBigIntSupport a dynamic flag for Meta (facebook#28617)
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 4d97322 commit a3fae14

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,
@@ -102,7 +103,5 @@ export const disableStringRefs = false;
102103
export const enableReactTestRendererWarning = false;
103104
export const disableLegacyMode = false;
104105

105-
export const enableBigIntSupport = false;
106-
107106
// Flow magic to verify the exports of this file match the original version.
108107
((((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
@@ -92,7 +92,7 @@ export const disableStringRefs = false;
9292
export const enableReactTestRendererWarning = false;
9393
export const disableLegacyMode = false;
9494

95-
export const enableBigIntSupport = false;
95+
export const enableBigIntSupport = true;
9696

9797
// Flow magic to verify the exports of this file match the original version.
9898
((((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,
@@ -116,8 +117,6 @@ export const enableServerComponentLogs = true;
116117

117118
export const enableReactTestRendererWarning = false;
118119

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

0 commit comments

Comments
 (0)