From 79e46b67784623f42186f69baa233e5854a8408f Mon Sep 17 00:00:00 2001 From: Luna Ruan Date: Thu, 5 Sep 2019 09:51:44 -0700 Subject: [PATCH] updated flags from false to dicated on www (#16647) --- packages/shared/forks/ReactFeatureFlags.www.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/shared/forks/ReactFeatureFlags.www.js b/packages/shared/forks/ReactFeatureFlags.www.js index aa860183b15e6..7abb9c69e730f 100644 --- a/packages/shared/forks/ReactFeatureFlags.www.js +++ b/packages/shared/forks/ReactFeatureFlags.www.js @@ -22,6 +22,8 @@ export const { enableUserBlockingEvents, disableLegacyContext, disableSchedulerTimeoutBasedOnReactExpirationTime, + warnAboutStringRefs, + warnAboutDefaultPropsOnFunctionComponents, } = require('ReactFeatureFlags'); // In www, we have experimental support for gathering data @@ -81,10 +83,6 @@ export const warnAboutUnmockedScheduler = true; export const enableSuspenseCallback = true; -export const warnAboutDefaultPropsOnFunctionComponents = false; - -export const warnAboutStringRefs = false; - export const flushSuspenseFallbacksInTests = true; // Flow magic to verify the exports of this file match the original version.