react/scripts/rollup/validate
Andrew Clark b8ed6a1aa5
[Scheduler] Call postTask directly (#19551)
This updates the experimental Scheduler postTask build to call postTask
directly, instead of managing our own custom queue and work loop.

We still use a deadline 5ms mechanism to implement `shouldYield`.

The main thing that postTask is currently missing is the continuation
feature — when yielding to the main thread, the yielding task is sent
to the back of the queue, instead of maintaining its position.

While this would be nice to have, even without it, postTask may be good
enough to replace our userspace implementation.

We'll run some tests to see.
2020-08-12 08:39:47 -05:00
..
eslintrc.cjs.js [Scheduler] Call postTask directly (#19551) 2020-08-12 08:39:47 -05:00
eslintrc.cjs2015.js [Scheduler] Call postTask directly (#19551) 2020-08-12 08:39:47 -05:00
eslintrc.fb.js [Scheduler] Call postTask directly (#19551) 2020-08-12 08:39:47 -05:00
eslintrc.rn.js [Scheduler] Call postTask directly (#19551) 2020-08-12 08:39:47 -05:00
eslintrc.umd.js [Scheduler] Call postTask directly (#19551) 2020-08-12 08:39:47 -05:00
index.js Add simple Node build (#19022) 2020-05-28 15:56:34 -07:00