From 08e95543571eacbe88a03382adc9399607d53425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Markb=C3=A5ge?= Date: Wed, 13 Feb 2019 10:55:13 -0800 Subject: [PATCH] Statically enable suspense/partial hydration flag in www (#14842) It doesn't hurt to have this always on since it is only when we use Suspense that it matters. This saves some code/checks. --- packages/shared/forks/ReactFeatureFlags.www.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/shared/forks/ReactFeatureFlags.www.js b/packages/shared/forks/ReactFeatureFlags.www.js index 56e563822b0f9..9bfd3ad3a68be 100644 --- a/packages/shared/forks/ReactFeatureFlags.www.js +++ b/packages/shared/forks/ReactFeatureFlags.www.js @@ -14,7 +14,6 @@ import typeof * as FeatureFlagsShimType from './ReactFeatureFlags.www'; export const { debugRenderPhaseSideEffects, debugRenderPhaseSideEffectsForStrictMode, - enableSuspenseServerRenderer, replayFailedUnitOfWorkWithInvokeGuardedCallback, warnAboutDeprecatedLifecycles, disableInputAttributeSyncing, @@ -35,6 +34,8 @@ export const enableSchedulerDebugging = true; export const enableStableConcurrentModeAPIs = false; +export const enableSuspenseServerRenderer = true; + let refCount = 0; export function addUserTimingListener() { if (__DEV__) {