mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Dynamic enableComponentStackLocations Flag for React Native (FB) (#28400)
## Summary Changes the `enableComponentStackLocations` feature flag to be dynamic for React Native (FB), so that it can be evaluated for compatibility before eventually being enabled for React Native. ## How did you test this change? I'll be importing this PR to test it.
This commit is contained in:
@@ -21,6 +21,7 @@ import typeof * as DynamicFlagsType from 'ReactNativeInternalFeatureFlags';
|
||||
// update the test configuration.
|
||||
|
||||
export const alwaysThrottleRetries = __VARIANT__;
|
||||
export const enableComponentStackLocations = __VARIANT__;
|
||||
export const enableDeferRootSchedulingToMicrotask = __VARIANT__;
|
||||
export const enableUseRefAccessWarning = __VARIANT__;
|
||||
export const passChildrenWhenCloningPersistedNodes = __VARIANT__;
|
||||
|
||||
@@ -19,6 +19,7 @@ import * as dynamicFlags from 'ReactNativeInternalFeatureFlags';
|
||||
// the exports object every time a flag is read.
|
||||
export const {
|
||||
alwaysThrottleRetries,
|
||||
enableComponentStackLocations,
|
||||
enableDeferRootSchedulingToMicrotask,
|
||||
enableUseRefAccessWarning,
|
||||
passChildrenWhenCloningPersistedNodes,
|
||||
@@ -62,7 +63,6 @@ export const enableCPUSuspense = true;
|
||||
export const enableUseMemoCacheHook = true;
|
||||
export const enableUseEffectEventHook = false;
|
||||
export const enableClientRenderFallbackOnTextMismatch = true;
|
||||
export const enableComponentStackLocations = false;
|
||||
export const enableLegacyFBSupport = false;
|
||||
export const enableFilterEmptyStringAttributesDOM = true;
|
||||
export const enableGetInspectorDataForInstanceInProduction = true;
|
||||
|
||||
Reference in New Issue
Block a user