mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Set deletedTreeCleanUpLevel to 3 (#21679)
This commit is contained in:
@@ -123,7 +123,7 @@ export const skipUnmountedBoundaries = false;
|
||||
//
|
||||
// It's an enum so that we can experiment with different levels of
|
||||
// aggressiveness.
|
||||
export const deletedTreeCleanUpLevel = 1;
|
||||
export const deletedTreeCleanUpLevel = 3;
|
||||
|
||||
// Destroy layout effects for components that are hidden because something suspended in an update
|
||||
// and recreate them when they are shown again (after the suspended boundary has resolved).
|
||||
|
||||
@@ -46,7 +46,7 @@ export const enableLegacyFBSupport = false;
|
||||
export const enableFilterEmptyStringAttributesDOM = false;
|
||||
export const disableNativeComponentFrames = false;
|
||||
export const skipUnmountedBoundaries = false;
|
||||
export const deletedTreeCleanUpLevel = 1;
|
||||
export const deletedTreeCleanUpLevel = 3;
|
||||
export const enableSuspenseLayoutEffectSemantics = false;
|
||||
|
||||
export const enableNewReconciler = false;
|
||||
|
||||
@@ -45,7 +45,7 @@ export const enableLegacyFBSupport = false;
|
||||
export const enableFilterEmptyStringAttributesDOM = false;
|
||||
export const disableNativeComponentFrames = false;
|
||||
export const skipUnmountedBoundaries = false;
|
||||
export const deletedTreeCleanUpLevel = 1;
|
||||
export const deletedTreeCleanUpLevel = 3;
|
||||
export const enableSuspenseLayoutEffectSemantics = false;
|
||||
|
||||
export const enableNewReconciler = false;
|
||||
|
||||
@@ -45,7 +45,7 @@ export const enableLegacyFBSupport = false;
|
||||
export const enableFilterEmptyStringAttributesDOM = false;
|
||||
export const disableNativeComponentFrames = false;
|
||||
export const skipUnmountedBoundaries = false;
|
||||
export const deletedTreeCleanUpLevel = 1;
|
||||
export const deletedTreeCleanUpLevel = 3;
|
||||
export const enableSuspenseLayoutEffectSemantics = false;
|
||||
|
||||
export const enableNewReconciler = false;
|
||||
|
||||
@@ -45,7 +45,7 @@ export const enableLegacyFBSupport = false;
|
||||
export const enableFilterEmptyStringAttributesDOM = false;
|
||||
export const disableNativeComponentFrames = false;
|
||||
export const skipUnmountedBoundaries = false;
|
||||
export const deletedTreeCleanUpLevel = 1;
|
||||
export const deletedTreeCleanUpLevel = 3;
|
||||
export const enableSuspenseLayoutEffectSemantics = false;
|
||||
|
||||
export const enableNewReconciler = false;
|
||||
|
||||
@@ -45,7 +45,7 @@ export const enableLegacyFBSupport = false;
|
||||
export const enableFilterEmptyStringAttributesDOM = false;
|
||||
export const disableNativeComponentFrames = false;
|
||||
export const skipUnmountedBoundaries = false;
|
||||
export const deletedTreeCleanUpLevel = 1;
|
||||
export const deletedTreeCleanUpLevel = 3;
|
||||
export const enableSuspenseLayoutEffectSemantics = false;
|
||||
|
||||
export const enableNewReconciler = false;
|
||||
|
||||
@@ -45,7 +45,7 @@ export const enableLegacyFBSupport = false;
|
||||
export const enableFilterEmptyStringAttributesDOM = false;
|
||||
export const disableNativeComponentFrames = false;
|
||||
export const skipUnmountedBoundaries = false;
|
||||
export const deletedTreeCleanUpLevel = 1;
|
||||
export const deletedTreeCleanUpLevel = 3;
|
||||
export const enableSuspenseLayoutEffectSemantics = false;
|
||||
|
||||
export const enableNewReconciler = false;
|
||||
|
||||
@@ -45,7 +45,7 @@ export const enableLegacyFBSupport = !__EXPERIMENTAL__;
|
||||
export const enableFilterEmptyStringAttributesDOM = false;
|
||||
export const disableNativeComponentFrames = false;
|
||||
export const skipUnmountedBoundaries = true;
|
||||
export const deletedTreeCleanUpLevel = 1;
|
||||
export const deletedTreeCleanUpLevel = 3;
|
||||
export const enableSuspenseLayoutEffectSemantics = false;
|
||||
|
||||
export const enableNewReconciler = false;
|
||||
|
||||
@@ -31,7 +31,6 @@ export const {
|
||||
disableNativeComponentFrames,
|
||||
disableSchedulerTimeoutInWorkLoop,
|
||||
enableLazyContextPropagation,
|
||||
deletedTreeCleanUpLevel,
|
||||
enableSyncDefaultUpdates,
|
||||
} = dynamicFeatureFlags;
|
||||
|
||||
@@ -95,6 +94,8 @@ export const enableRecursiveCommitTraversal = false;
|
||||
|
||||
export const allowConcurrentByDefault = true;
|
||||
|
||||
export const deletedTreeCleanUpLevel = 3;
|
||||
|
||||
// Flow magic to verify the exports of this file match the original version.
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
type Check<_X, Y: _X, X: Y = _X> = null;
|
||||
|
||||
Reference in New Issue
Block a user