From 78417de06b6902d4ede569c67fafba9c0cdd9ba7 Mon Sep 17 00:00:00 2001 From: Andrew Clark Date: Tue, 15 Oct 2019 16:10:23 -0700 Subject: [PATCH] Enable concurrent APIs in all experimental forks Forgot to update the flags in the forked modules. --- packages/shared/forks/ReactFeatureFlags.native-fb.js | 2 +- packages/shared/forks/ReactFeatureFlags.native-oss.js | 2 +- packages/shared/forks/ReactFeatureFlags.persistent.js | 2 +- packages/shared/forks/ReactFeatureFlags.test-renderer.js | 2 +- packages/shared/forks/ReactFeatureFlags.test-renderer.www.js | 2 +- packages/shared/forks/ReactFeatureFlags.www.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/shared/forks/ReactFeatureFlags.native-fb.js b/packages/shared/forks/ReactFeatureFlags.native-fb.js index 0f7c2bf2c1f6a..7f289919639e4 100644 --- a/packages/shared/forks/ReactFeatureFlags.native-fb.js +++ b/packages/shared/forks/ReactFeatureFlags.native-fb.js @@ -23,7 +23,7 @@ export const enableProfilerTimer = __PROFILE__; export const enableSchedulerTracing = __PROFILE__; export const enableSuspenseServerRenderer = false; export const enableSelectiveHydration = false; -export const exposeConcurrentModeAPIs = false; +export const exposeConcurrentModeAPIs = __EXPERIMENTAL__; export const warnAboutShorthandPropertyCollision = false; export const enableSchedulerDebugging = false; export const debugRenderPhaseSideEffectsForStrictMode = true; diff --git a/packages/shared/forks/ReactFeatureFlags.native-oss.js b/packages/shared/forks/ReactFeatureFlags.native-oss.js index b5b948ca44625..4a040b34b56d9 100644 --- a/packages/shared/forks/ReactFeatureFlags.native-oss.js +++ b/packages/shared/forks/ReactFeatureFlags.native-oss.js @@ -23,7 +23,7 @@ export const enableSuspenseServerRenderer = false; export const enableSelectiveHydration = false; export const disableJavaScriptURLs = false; export const disableInputAttributeSyncing = false; -export const exposeConcurrentModeAPIs = false; +export const exposeConcurrentModeAPIs = __EXPERIMENTAL__; export const warnAboutShorthandPropertyCollision = false; export const enableSchedulerDebugging = false; export const enableFlareAPI = false; diff --git a/packages/shared/forks/ReactFeatureFlags.persistent.js b/packages/shared/forks/ReactFeatureFlags.persistent.js index 0da2da61a6779..8f594d2c8b5c3 100644 --- a/packages/shared/forks/ReactFeatureFlags.persistent.js +++ b/packages/shared/forks/ReactFeatureFlags.persistent.js @@ -23,7 +23,7 @@ export const enableSuspenseServerRenderer = false; export const enableSelectiveHydration = false; export const disableJavaScriptURLs = false; export const disableInputAttributeSyncing = false; -export const exposeConcurrentModeAPIs = false; +export const exposeConcurrentModeAPIs = __EXPERIMENTAL__; export const warnAboutShorthandPropertyCollision = false; export const enableSchedulerDebugging = false; export const enableFlareAPI = false; diff --git a/packages/shared/forks/ReactFeatureFlags.test-renderer.js b/packages/shared/forks/ReactFeatureFlags.test-renderer.js index 9e8fde6630446..e8d9b6ed3486d 100644 --- a/packages/shared/forks/ReactFeatureFlags.test-renderer.js +++ b/packages/shared/forks/ReactFeatureFlags.test-renderer.js @@ -23,7 +23,7 @@ export const enableSuspenseServerRenderer = false; export const enableSelectiveHydration = false; export const disableJavaScriptURLs = false; export const disableInputAttributeSyncing = false; -export const exposeConcurrentModeAPIs = false; +export const exposeConcurrentModeAPIs = __EXPERIMENTAL__; export const warnAboutShorthandPropertyCollision = false; export const enableSchedulerDebugging = false; export const enableFlareAPI = false; diff --git a/packages/shared/forks/ReactFeatureFlags.test-renderer.www.js b/packages/shared/forks/ReactFeatureFlags.test-renderer.www.js index 9cc66951966bb..bfe467843cff7 100644 --- a/packages/shared/forks/ReactFeatureFlags.test-renderer.www.js +++ b/packages/shared/forks/ReactFeatureFlags.test-renderer.www.js @@ -21,7 +21,7 @@ export const enableProfilerTimer = __PROFILE__; export const enableSchedulerTracing = __PROFILE__; export const enableSuspenseServerRenderer = false; export const enableSelectiveHydration = false; -export const exposeConcurrentModeAPIs = false; +export const exposeConcurrentModeAPIs = __EXPERIMENTAL__; export const enableSchedulerDebugging = false; export const disableJavaScriptURLs = false; export const enableFlareAPI = true; diff --git a/packages/shared/forks/ReactFeatureFlags.www.js b/packages/shared/forks/ReactFeatureFlags.www.js index 7ba2116f06d2b..44710dac054d4 100644 --- a/packages/shared/forks/ReactFeatureFlags.www.js +++ b/packages/shared/forks/ReactFeatureFlags.www.js @@ -39,7 +39,7 @@ export const warnAboutStringRefs = false; export const warnAboutDefaultPropsOnFunctionComponents = false; export const disableSchedulerTimeoutBasedOnReactExpirationTime = false; -export const exposeConcurrentModeAPIs = false; +export const exposeConcurrentModeAPIs = __EXPERIMENTAL__; export const enableSuspenseServerRenderer = true;