Concurrent rendering for ReactART-test (#28521)

## Summary

We need to unblock flipping the default for RTR to be concurrent
rendering. Update ReactART-test to use `unstable_isConcurrent` in place.

## How did you test this change?

`yarn test packages/react-art/src/__tests__/ReactART-test.js`

DiffTrain build for commit https://github.com/facebook/react/commit/bc13750bdf9ca29c7d23a71c5760c21a78cf3fc4.
This commit is contained in:
jackpope
2024-03-18 19:43:36 +00:00
parent 544e6882e1
commit 05e0169862
7 changed files with 9 additions and 9 deletions
@@ -25454,7 +25454,7 @@ if (__DEV__) {
return root;
}
var ReactVersion = "18.3.0-canary-0aab065eb-20240318";
var ReactVersion = "18.3.0-canary-bc13750bd-20240318";
// Might add PROFILE later.
@@ -9175,7 +9175,7 @@ var devToolsConfig$jscomp$inline_1016 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-0aab065eb-20240318",
version: "18.3.0-canary-bc13750bd-20240318",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1194 = {
@@ -9206,7 +9206,7 @@ var internals$jscomp$inline_1194 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-0aab065eb-20240318"
reconcilerVersion: "18.3.0-canary-bc13750bd-20240318"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1195 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9603,7 +9603,7 @@ var devToolsConfig$jscomp$inline_1058 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-0aab065eb-20240318",
version: "18.3.0-canary-bc13750bd-20240318",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1235 = {
@@ -9634,7 +9634,7 @@ var internals$jscomp$inline_1235 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-0aab065eb-20240318"
reconcilerVersion: "18.3.0-canary-bc13750bd-20240318"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1236 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -26,7 +26,7 @@ if (__DEV__) {
}
var dynamicFlags = require("ReactNativeInternalFeatureFlags");
var ReactVersion = "18.3.0-canary-0aab065eb-20240318";
var ReactVersion = "18.3.0-canary-bc13750bd-20240318";
// ATTENTION
// When adding new symbols to this file,
@@ -628,4 +628,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-0aab065eb-20240318";
exports.version = "18.3.0-canary-bc13750bd-20240318";
@@ -624,7 +624,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-0aab065eb-20240318";
exports.version = "18.3.0-canary-bc13750bd-20240318";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
0aab065eb3250a9714a62dc05587cbb571da7f71
bc13750bdf9ca29c7d23a71c5760c21a78cf3fc4