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 822d3e4 commit b0b5a7f
Show file tree
Hide file tree
Showing 7 changed files with 9 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 @@ -174,6 +172,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
3 changes: 1 addition & 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 @@ -97,6 +95,7 @@ export const enableUseDeferredValueInitialArg = true;
export const disableClientCache = true;

export const enableServerComponentKeys = true;
export const enableBigIntSupport = false;
export const enableInfiniteRenderLoopDetection = false;

// Flow magic to verify the exports of this file match the original version.
Expand Down
3 changes: 1 addition & 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 @@ -90,6 +88,7 @@ export const enableUseDeferredValueInitialArg = __EXPERIMENTAL__;
export const disableClientCache = true;

export const enableServerComponentKeys = true;
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 All @@ -89,6 +87,7 @@ export const enableUseDeferredValueInitialArg = __EXPERIMENTAL__;
export const disableClientCache = true;

export const enableServerComponentKeys = true;
export const enableBigIntSupport = false;
export const enableInfiniteRenderLoopDetection = false;

// Flow magic to verify the exports of this file match the original version.
Expand Down
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 @@ -87,6 +85,7 @@ export const enableUseDeferredValueInitialArg = __EXPERIMENTAL__;
export const disableClientCache = true;

export const enableServerComponentKeys = true;
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.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 @@ -89,6 +87,7 @@ export const enableUseDeferredValueInitialArg = true;
export const disableClientCache = true;

export const enableServerComponentKeys = true;
export const enableBigIntSupport = false;
export const enableInfiniteRenderLoopDetection = false;

// Flow magic to verify the exports of this file match the original version.
Expand Down
3 changes: 2 additions & 1 deletion packages/shared/forks/ReactFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,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 enableClientRenderFallbackOnTextMismatch = false;
Expand Down Expand Up @@ -117,5 +116,7 @@ export const disableClientCache = true;

export const enableServerComponentKeys = true;

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 b0b5a7f

Please sign in to comment.