dillon1000/react

Commit

Remove `timeout` option from `scheduleCallback` (#19457)

Since the Lanes refactor landed, we no longer rely on this anywhere, so
we can remove it.

The `delay` option is still needed by our timer implementation
(setTimeout polyfill). We'll keep the feature, but we'll likely change
how it's exposed once we figure out the proper layering between the
various Scheduler APIs.
Browse files
Changed paths2 files
First-parent comparison
M packages/scheduler/src/Scheduler.js ModifiedM packages/scheduler/src/__tests__/Scheduler-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…