mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Turn on RN flags, make www dynamic
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
import typeof * as FeatureFlagsType from 'shared/ReactFeatureFlags';
|
||||
import typeof * as ExportsType from './ReactFeatureFlags.native-fb';
|
||||
|
||||
// NOTE: There are no flags, currently. Uncomment the stuff below if we add one.
|
||||
// Re-export dynamic flags from the internal module. Intentionally using *
|
||||
// because this import is compiled to a `require` call.
|
||||
import * as dynamicFlags from 'ReactNativeInternalFeatureFlags';
|
||||
@@ -86,7 +85,7 @@ export const enableTransitionTracing = false;
|
||||
|
||||
export const enableFloat = true;
|
||||
|
||||
export const useModernStrictMode = false;
|
||||
export const useModernStrictMode = true;
|
||||
export const enableDO_NOT_USE_disableStrictPassiveEffect = false;
|
||||
export const enableFizzExternalRuntime = false;
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ export const enableTransitionTracing = false;
|
||||
|
||||
export const enableFloat = true;
|
||||
|
||||
export const useModernStrictMode = false;
|
||||
export const useModernStrictMode = true;
|
||||
export const enableDO_NOT_USE_disableStrictPassiveEffect = false;
|
||||
export const enableDeferRootSchedulingToMicrotask = true;
|
||||
|
||||
|
||||
@@ -43,6 +43,8 @@ export const enableDebugTracing = __EXPERIMENTAL__;
|
||||
|
||||
export const enableSchedulingProfiler = __VARIANT__;
|
||||
|
||||
export const useModernStrictMode = __VARIANT__;
|
||||
|
||||
// These are already tested in both modes using the build type dimension,
|
||||
// so we don't need to use __VARIANT__ to get extra coverage.
|
||||
export const replayFailedUnitOfWorkWithInvokeGuardedCallback = __DEV__;
|
||||
|
||||
Reference in New Issue
Block a user