Skip to content

Commit

Permalink
Schedule BigInt support for next major
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Silbermann committed Feb 26, 2024
1 parent 111ff28 commit ad6e64f
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions packages/shared/ReactFeatureFlags.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ export const enableCPUSuspense = __EXPERIMENTAL__;

export const enableFloat = true;

export const enableBigIntSupport = __EXPERIMENTAL__;

// Enables unstable_useMemoCache hook, intended as a compilation target for
// auto-memoization.
export const enableUseMemoCacheHook = __EXPERIMENTAL__;
Expand Down Expand Up @@ -176,6 +174,8 @@ export const disableClientCache = false;
// Changes Server Components Reconciliation when they have keys
export const enableServerComponentKeys = __NEXT_MAJOR__;

export const enableBigIntSupport = __NEXT_MAJOR__;

/**
* Enables a new error detection for infinite render loops from updates caused
* by setState or similar outside of the component owning the state.
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/forks/ReactFeatureFlags.native-fb.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ export const enableTransitionTracing = false;

export const enableFloat = true;

export const enableBigIntSupport = false;

export const useModernStrictMode = false;
export const enableDO_NOT_USE_disableStrictPassiveEffect = false;
export const enableFizzExternalRuntime = true;
Expand All @@ -106,5 +104,7 @@ export const enableRefAsProp = false;

export const enableReactTestRendererWarning = false;

export const enableBigIntSupport = false;

// Flow magic to verify the exports of this file match the original version.
((((null: any): ExportsType): FeatureFlagsType): ExportsType);
4 changes: 2 additions & 2 deletions packages/shared/forks/ReactFeatureFlags.native-oss.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ export const enableTransitionTracing = false;

export const enableFloat = true;

export const enableBigIntSupport = false;

export const useModernStrictMode = false;
export const enableDO_NOT_USE_disableStrictPassiveEffect = false;
export const enableFizzExternalRuntime = true;
Expand All @@ -97,5 +95,7 @@ export const enableRefAsProp = false;

export const enableReactTestRendererWarning = false;

export const enableBigIntSupport = false;

// Flow magic to verify the exports of this file match the original version.
((((null: any): ExportsType): FeatureFlagsType): ExportsType);
3 changes: 1 addition & 2 deletions packages/shared/forks/ReactFeatureFlags.test-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ export const enableTransitionTracing = false;

export const enableFloat = true;

export const enableBigIntSupport = false;

export const useModernStrictMode = false;
export const enableDO_NOT_USE_disableStrictPassiveEffect = false;
export const enableFizzExternalRuntime = true;
Expand Down Expand Up @@ -101,6 +99,7 @@ export const enableInfiniteRenderLoopDetection = false;
const __NEXT_MAJOR__ = __EXPERIMENTAL__;
export const enableRefAsProp = __NEXT_MAJOR__;
export const enableReactTestRendererWarning = false;
export const enableBigIntSupport = __NEXT_MAJOR__;

// Flow magic to verify the exports of this file match the original version.
((((null: any): ExportsType): FeatureFlagsType): ExportsType);
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ export const enableTransitionTracing = false;

export const enableFloat = true;

export const enableBigIntSupport = false;

export const useModernStrictMode = false;
export const enableDO_NOT_USE_disableStrictPassiveEffect = false;
export const enableDeferRootSchedulingToMicrotask = false;
Expand All @@ -93,5 +91,7 @@ export const enableRefAsProp = false;

export const enableReactTestRendererWarning = false;

export const enableBigIntSupport = false;

// Flow magic to verify the exports of this file match the original version.
((((null: any): ExportsType): FeatureFlagsType): ExportsType);
4 changes: 2 additions & 2 deletions packages/shared/forks/ReactFeatureFlags.test-renderer.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ export const enableTransitionTracing = false;

export const enableFloat = true;

export const enableBigIntSupport = false;

export const useModernStrictMode = false;
export const enableDO_NOT_USE_disableStrictPassiveEffect = false;
export const enableFizzExternalRuntime = false;
Expand All @@ -96,5 +94,7 @@ export const enableRefAsProp = false;

export const enableReactTestRendererWarning = false;

export const enableBigIntSupport = false;

// Flow magic to verify the exports of this file match the original version.
((((null: any): ExportsType): FeatureFlagsType): ExportsType);
3 changes: 2 additions & 1 deletion packages/shared/forks/ReactFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export const enableSuspenseAvoidThisFallbackFizz = false;
export const enableCustomElementPropertySupport = true;
export const enableCPUSuspense = true;
export const enableFloat = true;
export const enableBigIntSupport = false;
export const enableUseMemoCacheHook = true;
export const enableUseEffectEventHook = true;
export const enableFilterEmptyStringAttributesDOM = true;
Expand Down Expand Up @@ -121,5 +120,7 @@ export const enableServerComponentLogs = true;

export const enableReactTestRendererWarning = false;

export const enableBigIntSupport = false;

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

0 comments on commit ad6e64f

Please sign in to comment.