Use native scheduler if defined in global scope (#26554)

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>

DiffTrain build for [b00e27342d](https://github.com/facebook/react/commit/b00e27342d6ff0f2a3a57b8e1edf66290d27cf07)
This commit is contained in:
sammy-SC
2023-05-05 13:08:26 +00:00
co-authored by Dan Abramov
parent 4707842f6a
commit c16551253d
8 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -1 +1 @@
aef7ce5547c9489dc48e31f69b002cd17206e0cb
b00e27342d6ff0f2a3a57b8e1edf66290d27cf07
+1 -1
View File
@@ -641,4 +641,4 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-www-modern-d4574969";
exports.version = "18.3.0-www-modern-aa2fcc30";
@@ -10193,7 +10193,7 @@ var slice = Array.prototype.slice,
return null;
},
bundleType: 0,
version: "18.3.0-www-classic-19d57e9b",
version: "18.3.0-www-classic-64ad8763",
rendererPackageName: "react-art"
};
var internals$jscomp$inline_1325 = {
@@ -10224,7 +10224,7 @@ var internals$jscomp$inline_1325 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-classic-19d57e9b"
reconcilerVersion: "18.3.0-www-classic-64ad8763"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1326 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -34168,7 +34168,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-classic-741651f9";
var ReactVersion = "18.3.0-www-classic-0991f810";
function createPortal$1(
children,
@@ -16642,7 +16642,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1829 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-4774adc4",
version: "18.3.0-www-classic-39ad496a",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2203 = {
@@ -16672,7 +16672,7 @@ var internals$jscomp$inline_2203 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-classic-4774adc4"
reconcilerVersion: "18.3.0-www-classic-39ad496a"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2204 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16915,4 +16915,4 @@ exports.unstable_renderSubtreeIntoContainer = function (
);
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-classic-4774adc4";
exports.version = "18.3.0-www-classic-39ad496a";
@@ -16169,7 +16169,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1788 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-b136bc3a",
version: "18.3.0-www-modern-8a5299e6",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2167 = {
@@ -16200,7 +16200,7 @@ var internals$jscomp$inline_2167 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-modern-b136bc3a"
reconcilerVersion: "18.3.0-www-modern-8a5299e6"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2168 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16371,4 +16371,4 @@ exports.unstable_createEventHandle = function (type, options) {
return eventHandle;
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-modern-b136bc3a";
exports.version = "18.3.0-www-modern-8a5299e6";
@@ -16938,7 +16938,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1873 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-e58fb3cf",
version: "18.3.0-www-modern-a64d6dfb",
rendererPackageName: "react-dom"
};
(function (internals) {
@@ -16983,7 +16983,7 @@ var devToolsConfig$jscomp$inline_1873 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-modern-e58fb3cf"
reconcilerVersion: "18.3.0-www-modern-a64d6dfb"
});
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
exports.createPortal = function (children, container) {
@@ -17141,7 +17141,7 @@ exports.unstable_createEventHandle = function (type, options) {
return eventHandle;
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-modern-e58fb3cf";
exports.version = "18.3.0-www-modern-a64d6dfb";
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
@@ -34785,7 +34785,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-classic-aba03bce";
var ReactVersion = "18.3.0-www-classic-f2874d23";
function createPortal$1(
children,