Skip to content

Commit 08e9554

Browse files
authored
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.
1 parent 0e4135e commit 08e9554

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/shared/forks/ReactFeatureFlags.www.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import typeof * as FeatureFlagsShimType from './ReactFeatureFlags.www';
1414
export const {
1515
debugRenderPhaseSideEffects,
1616
debugRenderPhaseSideEffectsForStrictMode,
17-
enableSuspenseServerRenderer,
1817
replayFailedUnitOfWorkWithInvokeGuardedCallback,
1918
warnAboutDeprecatedLifecycles,
2019
disableInputAttributeSyncing,
@@ -35,6 +34,8 @@ export const enableSchedulerDebugging = true;
3534

3635
export const enableStableConcurrentModeAPIs = false;
3736

37+
export const enableSuspenseServerRenderer = true;
38+
3839
let refCount = 0;
3940
export function addUserTimingListener() {
4041
if (__DEV__) {

0 commit comments

Comments
 (0)