Add version of scheduler that only swaps MessageChannel for postTask (#20206)

* Fork SchedulerDOM to SchedulerPostTaskOnly

* Swap in postTask for MessageChannel

* Add SchedulerPostTaskOnly-test.js

* Update getCurrentTime

* Gate tests to source

* Prettier
This commit is contained in:
Ricky
2020-11-10 12:11:46 -05:00
committed by GitHub
parent 393c452e39
commit 0898660154
4 changed files with 892 additions and 0 deletions
+15
View File
@@ -659,6 +659,21 @@ const bundles = [
externals: [],
},
/******* React Scheduler Post Task Only (experimental) *******/
{
bundleTypes: [
NODE_DEV,
NODE_PROD,
FB_WWW_DEV,
FB_WWW_PROD,
FB_WWW_PROFILING,
],
moduleType: ISOMORPHIC,
entry: 'scheduler/unstable_post_task_only',
global: 'SchedulerPostTaskOnly',
externals: [],
},
/******* React Scheduler No DOM (experimental) *******/
{
bundleTypes: [