mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user