@samitouri / QOS-React-2 / commits / 08e9554357

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.

Sebastian Markbåge committed Feb 13, 2019 at 10:55 UTC 08e95543571eacbe88a03382adc9399607d53425
1 file changed +2 -1
packages/shared/forks/ReactFeatureFlags.www.js
+2 -1
@@ -14,7 +14,6 @@ import typeof * as FeatureFlagsShimType from './ReactFeatureFlags.www';
14 export const {
15 debugRenderPhaseSideEffects,
16 debugRenderPhaseSideEffectsForStrictMode,
17 - enableSuspenseServerRenderer,
17 replayFailedUnitOfWorkWithInvokeGuardedCallback,
18 warnAboutDeprecatedLifecycles,
19 disableInputAttributeSyncing,
@@ -35,6 +34,8 @@ export const enableSchedulerDebugging = true;
34
35 export const enableStableConcurrentModeAPIs = false;
36
37 +export const enableSuspenseServerRenderer = true;
38 +
39 let refCount = 0;
40 export function addUserTimingListener() {
41 if (__DEV__) {