Skip to content

Commit

Permalink
Statically enable suspense/partial hydration flag in www (#14842)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sebmarkbage authored Feb 13, 2019
1 parent 0e4135e commit 08e9554
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/shared/forks/ReactFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import typeof * as FeatureFlagsShimType from './ReactFeatureFlags.www';
export const {
debugRenderPhaseSideEffects,
debugRenderPhaseSideEffectsForStrictMode,
enableSuspenseServerRenderer,
replayFailedUnitOfWorkWithInvokeGuardedCallback,
warnAboutDeprecatedLifecycles,
disableInputAttributeSyncing,
Expand All @@ -35,6 +34,8 @@ export const enableSchedulerDebugging = true;

export const enableStableConcurrentModeAPIs = false;

export const enableSuspenseServerRenderer = true;

let refCount = 0;
export function addUserTimingListener() {
if (__DEV__) {
Expand Down

0 comments on commit 08e9554

Please sign in to comment.