export dynamic disableSchedulerTimeoutInWorkLoop flag in www (#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.
Noah Lemen committed
Jul 17, 2023 at 15:44 UTC
9f4fbec5f7bb639be6dac438f9da5f032ae12c15
1 file changed
+1
-1
packages/shared/forks/ReactFeatureFlags.www.js
+1
-1
@@ -31,6 +31,7 @@ export const {
31
enableAsyncActions,
32
alwaysThrottleRetries,
33
enableDO_NOT_USE_disableStrictPassiveEffect,
34
+ disableSchedulerTimeoutInWorkLoop,
35
} = dynamicFeatureFlags;
36
37
// On WWW, __EXPERIMENTAL__ is used for a new modern build.
@@ -48,7 +49,6 @@ export const createRootStrictEffectsByDefault = false;
49
export const enableSuspenseAvoidThisFallback = true;
50
export const enableSuspenseAvoidThisFallbackFizz = false;
51
51
-export const disableSchedulerTimeoutInWorkLoop = false;
52
export const enableCPUSuspense = true;
53
export const enableFloat = true;
54
export const enableUseMemoCacheHook = true;