mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Move ReactCurrentDispatcher back to shared internals (#27462)
The jsx-runtime uses the ReactCurrentDispatcher from shared internals. Recently this was moved to ReactServerSharedInternals which broke jsx-runtime. This change moves it back to ReactSharedInternals until we can come up with a new forking mechanism. DiffTrain build for commit https://github.com/facebook/react/commit/6f132439578ee11e04b41a278df51c52b0dc8563.
This commit is contained in:
+1
-1
@@ -24772,7 +24772,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-canary-ca237d6f0-20231004";
|
||||
var ReactVersion = "18.3.0-canary-6f1324395-20231004";
|
||||
|
||||
// Might add PROFILE later.
|
||||
|
||||
|
||||
+2
-2
@@ -8978,7 +8978,7 @@ var devToolsConfig$jscomp$inline_998 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-ca237d6f0-20231004",
|
||||
version: "18.3.0-canary-6f1324395-20231004",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1191 = {
|
||||
@@ -9009,7 +9009,7 @@ var internals$jscomp$inline_1191 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-ca237d6f0-20231004"
|
||||
reconcilerVersion: "18.3.0-canary-6f1324395-20231004"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1192 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+2
-2
@@ -9404,7 +9404,7 @@ var devToolsConfig$jscomp$inline_1040 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-ca237d6f0-20231004",
|
||||
version: "18.3.0-canary-6f1324395-20231004",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1232 = {
|
||||
@@ -9435,7 +9435,7 @@ var internals$jscomp$inline_1232 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-ca237d6f0-20231004"
|
||||
reconcilerVersion: "18.3.0-canary-6f1324395-20231004"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1233 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ if (
|
||||
}
|
||||
"use strict";
|
||||
|
||||
var ReactVersion = "18.3.0-canary-ca237d6f0-20231004";
|
||||
var ReactVersion = "18.3.0-canary-6f1324395-20231004";
|
||||
|
||||
// ATTENTION
|
||||
// When adding new symbols to this file,
|
||||
|
||||
+1
-1
@@ -616,4 +616,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactCurrentDispatcher.current.useTransition();
|
||||
};
|
||||
exports.version = "18.3.0-canary-ca237d6f0-20231004";
|
||||
exports.version = "18.3.0-canary-6f1324395-20231004";
|
||||
|
||||
+1
-1
@@ -619,7 +619,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactCurrentDispatcher.current.useTransition();
|
||||
};
|
||||
exports.version = "18.3.0-canary-ca237d6f0-20231004";
|
||||
exports.version = "18.3.0-canary-6f1324395-20231004";
|
||||
|
||||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
||||
if (
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
ca237d6f0ab986e799f192224d3066f76d66b73b
|
||||
6f132439578ee11e04b41a278df51c52b0dc8563
|
||||
|
||||
Reference in New Issue
Block a user