Skip to content

Commit

Permalink
export dynamic disableSchedulerTimeoutInWorkLoop flag in www (faceboo…
Browse files Browse the repository at this point in the history
…k#27117)

## Summary

This was not exposed as a dynamic flag in the build for facebook www. By
adding it, we'll be able to roll this out incrementally before cleaning
up this code altogether.

## How did you test this change?

`yarn build`

Before changes, `disableSchedulerTimeoutInWorkLoop` flag is not included
in ReactDOM-* build output for facebook www. Afterwards, it is included.
  • Loading branch information
noahlemen authored and AndyPengc12 committed Apr 15, 2024
1 parent 5f98a9a commit 2dbabfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/forks/ReactFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const {
enableAsyncActions,
alwaysThrottleRetries,
enableDO_NOT_USE_disableStrictPassiveEffect,
disableSchedulerTimeoutInWorkLoop,
} = dynamicFeatureFlags;

// On WWW, __EXPERIMENTAL__ is used for a new modern build.
Expand All @@ -48,7 +49,6 @@ export const createRootStrictEffectsByDefault = false;
export const enableSuspenseAvoidThisFallback = true;
export const enableSuspenseAvoidThisFallbackFizz = false;

export const disableSchedulerTimeoutInWorkLoop = false;
export const enableCPUSuspense = true;
export const enableFloat = true;
export const enableUseMemoCacheHook = true;
Expand Down

0 comments on commit 2dbabfd

Please sign in to comment.