dillon1000/react
Commit
Browse files 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.
Changed paths2 files
First-parent comparisonpackages/scheduler/src/Scheduler.js ModifiedM packages/scheduler/src/__tests__/Scheduler-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…