Skip to content

Commit c81f4e0

Browse files
authored
re-add dynamic feature flags for isInputPending (#27919)
## Summary these were removed in #26617. adds them back so we can conduct another experiment. ## How did you test this change? `yarn test-www`
1 parent 9723093 commit c81f4e0

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

packages/scheduler/src/forks/SchedulerFeatureFlags.www-dynamic.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313

1414
export const enableProfiling = __VARIANT__;
1515

16+
export const enableIsInputPending = __VARIANT__;
17+
export const enableIsInputPendingContinuous = __VARIANT__;
18+
export const frameYieldMs = 5;
19+
export const continuousYieldMs = 10;
20+
export const maxYieldMs = 10;
21+
1622
export const userBlockingPriorityTimeout = 250;
1723
export const normalPriorityTimeout = 5000;
1824
export const lowPriorityTimeout = 10000;

packages/scheduler/src/forks/SchedulerFeatureFlags.www.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ export const {
1616
userBlockingPriorityTimeout,
1717
normalPriorityTimeout,
1818
lowPriorityTimeout,
19+
enableIsInputPending,
20+
enableIsInputPendingContinuous,
21+
frameYieldMs,
22+
continuousYieldMs,
23+
maxYieldMs,
1924
} = dynamicFeatureFlags;
2025
export const enableSchedulerDebugging = true;
2126
export const enableProfiling: boolean =
2227
__PROFILE__ && enableProfilingFeatureFlag;
23-
export const enableIsInputPending = true;
24-
export const enableIsInputPendingContinuous = true;
25-
export const frameYieldMs = 5;
26-
export const continuousYieldMs = 10;
27-
export const maxYieldMs = 10;

0 commit comments

Comments
 (0)