dillon1000/react

Commit

Scheduler.unstable_next (#14756)

* Add Scheduler.unstable_next

* Use Scheduler to prioritize updates

Changes the implementation of syncUpdates, deferredUpdates, and
interactiveUpdates to use runWithPriority, so

This is the minimum integration between Scheduler and React needed to
unblock use of the Scheduler.next API.

* Add Scheduler.unstable_next

* Use Scheduler to prioritize updates

Changes the implementation of syncUpdates, deferredUpdates, and
interactiveUpdates to use runWithPriority, so

This is the minimum integration between Scheduler and React needed to
unblock use of the Scheduler.next API.
Browse files
Changed paths8 files
First-parent comparison
M packages/react-cache/src/__tests__/ReactCache-test.internal.js ModifiedM packages/react-reconciler/src/ReactFiberScheduler.js ModifiedM packages/react/src/ReactSharedInternals.js ModifiedM packages/scheduler/npm/umd/scheduler.development.js ModifiedM packages/scheduler/npm/umd/scheduler.production.min.js ModifiedM packages/scheduler/npm/umd/scheduler.profiling.min.js ModifiedM packages/scheduler/src/Scheduler.js ModifiedM packages/shared/forks/Scheduler.umd.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…