mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
This reverts commit b2ae9ddb3b.
While the feature flag is fully rolled out, these tests are also testing
behavior set with an unstable flag on root, which for now we want to
preserve.
Not sure if there's a better way then adding a dynamic feature flag to
the www build?
DiffTrain build for commit https://github.com/facebook/react/commit/da94e8b24a3f31a3e805f9bf6bba73055aad9d41.
This commit is contained in:
+3
-1
@@ -23482,6 +23482,8 @@ function createHostRootFiber(
|
||||
}
|
||||
|
||||
if (
|
||||
// We only use this flag for our repo tests to check both behaviors.
|
||||
// TODO: Flip this flag and rename it something like "forceConcurrentByDefaultForTesting"
|
||||
// Only for internal experiments.
|
||||
concurrentUpdatesByDefaultOverride
|
||||
) {
|
||||
@@ -23882,7 +23884,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-next-0700dd50b-20230404";
|
||||
var ReactVersion = "18.3.0-next-da94e8b24-20230404";
|
||||
|
||||
// Might add PROFILE later.
|
||||
|
||||
|
||||
+2
-2
@@ -8683,7 +8683,7 @@ var devToolsConfig$jscomp$inline_1028 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-next-0700dd50b-20230404",
|
||||
version: "18.3.0-next-da94e8b24-20230404",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1220 = {
|
||||
@@ -8714,7 +8714,7 @@ var internals$jscomp$inline_1220 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-next-0700dd50b-20230404"
|
||||
reconcilerVersion: "18.3.0-next-da94e8b24-20230404"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1221 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+2
-2
@@ -9108,7 +9108,7 @@ var devToolsConfig$jscomp$inline_1070 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-next-0700dd50b-20230404",
|
||||
version: "18.3.0-next-da94e8b24-20230404",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1261 = {
|
||||
@@ -9139,7 +9139,7 @@ var internals$jscomp$inline_1261 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-next-0700dd50b-20230404"
|
||||
reconcilerVersion: "18.3.0-next-da94e8b24-20230404"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1262 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ if (
|
||||
}
|
||||
"use strict";
|
||||
|
||||
var ReactVersion = "18.3.0-next-0700dd50b-20230404";
|
||||
var ReactVersion = "18.3.0-next-da94e8b24-20230404";
|
||||
|
||||
// ATTENTION
|
||||
// When adding new symbols to this file,
|
||||
|
||||
+1
-1
@@ -639,4 +639,4 @@ exports.useSyncExternalStore = function (
|
||||
);
|
||||
};
|
||||
exports.useTransition = useTransition;
|
||||
exports.version = "18.3.0-next-0700dd50b-20230404";
|
||||
exports.version = "18.3.0-next-da94e8b24-20230404";
|
||||
|
||||
+1
-1
@@ -642,7 +642,7 @@ exports.useSyncExternalStore = function (
|
||||
);
|
||||
};
|
||||
exports.useTransition = useTransition;
|
||||
exports.version = "18.3.0-next-0700dd50b-20230404";
|
||||
exports.version = "18.3.0-next-da94e8b24-20230404";
|
||||
|
||||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
||||
if (
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
0700dd50bda98f5ee86f2e3adfe5e9906ed1e8e3
|
||||
da94e8b24a3f31a3e805f9bf6bba73055aad9d41
|
||||
|
||||
+3
-1
@@ -26716,6 +26716,8 @@ function createHostRootFiber(
|
||||
}
|
||||
|
||||
if (
|
||||
// We only use this flag for our repo tests to check both behaviors.
|
||||
// TODO: Flip this flag and rename it something like "forceConcurrentByDefaultForTesting"
|
||||
// Only for internal experiments.
|
||||
concurrentUpdatesByDefaultOverride
|
||||
) {
|
||||
@@ -27175,7 +27177,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-next-0700dd50b-20230404";
|
||||
var ReactVersion = "18.3.0-next-da94e8b24-20230404";
|
||||
|
||||
function createPortal$1(
|
||||
children,
|
||||
|
||||
+2
-2
@@ -9554,7 +9554,7 @@ var roots = new Map(),
|
||||
devToolsConfig$jscomp$inline_1052 = {
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "18.3.0-next-0700dd50b-20230404",
|
||||
version: "18.3.0-next-da94e8b24-20230404",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
rendererConfig: {
|
||||
getInspectorDataForViewTag: function () {
|
||||
@@ -9596,7 +9596,7 @@ var internals$jscomp$inline_1297 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-next-0700dd50b-20230404"
|
||||
reconcilerVersion: "18.3.0-next-da94e8b24-20230404"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1298 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+2
-2
@@ -10262,7 +10262,7 @@ var roots = new Map(),
|
||||
devToolsConfig$jscomp$inline_1130 = {
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "18.3.0-next-0700dd50b-20230404",
|
||||
version: "18.3.0-next-da94e8b24-20230404",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
rendererConfig: {
|
||||
getInspectorDataForViewTag: function () {
|
||||
@@ -10317,7 +10317,7 @@ var roots = new Map(),
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-next-0700dd50b-20230404"
|
||||
reconcilerVersion: "18.3.0-next-da94e8b24-20230404"
|
||||
});
|
||||
exports.createPortal = function (children, containerTag) {
|
||||
return createPortal$1(
|
||||
|
||||
+3
-1
@@ -27239,6 +27239,8 @@ function createHostRootFiber(
|
||||
}
|
||||
|
||||
if (
|
||||
// We only use this flag for our repo tests to check both behaviors.
|
||||
// TODO: Flip this flag and rename it something like "forceConcurrentByDefaultForTesting"
|
||||
// Only for internal experiments.
|
||||
concurrentUpdatesByDefaultOverride
|
||||
) {
|
||||
@@ -27698,7 +27700,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-next-0700dd50b-20230404";
|
||||
var ReactVersion = "18.3.0-next-da94e8b24-20230404";
|
||||
|
||||
function createPortal$1(
|
||||
children,
|
||||
|
||||
+2
-2
@@ -9810,7 +9810,7 @@ var roots = new Map(),
|
||||
devToolsConfig$jscomp$inline_1107 = {
|
||||
findFiberByHostInstance: getInstanceFromTag,
|
||||
bundleType: 0,
|
||||
version: "18.3.0-next-0700dd50b-20230404",
|
||||
version: "18.3.0-next-da94e8b24-20230404",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
rendererConfig: {
|
||||
getInspectorDataForViewTag: function () {
|
||||
@@ -9852,7 +9852,7 @@ var internals$jscomp$inline_1359 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-next-0700dd50b-20230404"
|
||||
reconcilerVersion: "18.3.0-next-da94e8b24-20230404"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1360 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+2
-2
@@ -10518,7 +10518,7 @@ var roots = new Map(),
|
||||
devToolsConfig$jscomp$inline_1185 = {
|
||||
findFiberByHostInstance: getInstanceFromTag,
|
||||
bundleType: 0,
|
||||
version: "18.3.0-next-0700dd50b-20230404",
|
||||
version: "18.3.0-next-da94e8b24-20230404",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
rendererConfig: {
|
||||
getInspectorDataForViewTag: function () {
|
||||
@@ -10573,7 +10573,7 @@ var roots = new Map(),
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-next-0700dd50b-20230404"
|
||||
reconcilerVersion: "18.3.0-next-da94e8b24-20230404"
|
||||
});
|
||||
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = {
|
||||
computeComponentStackForErrorReporting: function (reactTag) {
|
||||
|
||||
Reference in New Issue
Block a user