updated flags from false to dicated on www (#16647)
Luna Ruan committed
Sep 5, 2019 at 09:51 UTC
79e46b67784623f42186f69baa233e5854a8408f
1 file changed
+2
-4
packages/shared/forks/ReactFeatureFlags.www.js
+2
-4
@@ -22,6 +22,8 @@ export const {
22
enableUserBlockingEvents,
23
disableLegacyContext,
24
disableSchedulerTimeoutBasedOnReactExpirationTime,
25
+ warnAboutStringRefs,
26
+ warnAboutDefaultPropsOnFunctionComponents,
27
} = require('ReactFeatureFlags');
28
29
// In www, we have experimental support for gathering data
@@ -81,10 +83,6 @@ export const warnAboutUnmockedScheduler = true;
83
84
export const enableSuspenseCallback = true;
85
84
-export const warnAboutDefaultPropsOnFunctionComponents = false;
85
-
86
-export const warnAboutStringRefs = false;
87
-
86
export const flushSuspenseFallbacksInTests = true;
87
88
// Flow magic to verify the exports of this file match the original version.