mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Override .bind on Server References on the Client (#27282)
That way when you bind arguments to a Server Reference, it's still a server reference and works with progressive enhancement. This already works on the Server (RSC) layer. DiffTrain build for commit https://github.com/facebook/react/commit/b798223a620dad77077d27e53cc99cbd54312d99.
This commit is contained in:
+1
-1
@@ -23981,7 +23981,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-canary-ab31a9ed2-20230824";
|
||||
var ReactVersion = "18.3.0-canary-b798223a6-20230825";
|
||||
|
||||
// Might add PROFILE later.
|
||||
|
||||
|
||||
+2
-2
@@ -8612,7 +8612,7 @@ var devToolsConfig$jscomp$inline_1029 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-ab31a9ed2-20230824",
|
||||
version: "18.3.0-canary-b798223a6-20230825",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1228 = {
|
||||
@@ -8643,7 +8643,7 @@ var internals$jscomp$inline_1228 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-ab31a9ed2-20230824"
|
||||
reconcilerVersion: "18.3.0-canary-b798223a6-20230825"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1229 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+2
-2
@@ -9038,7 +9038,7 @@ var devToolsConfig$jscomp$inline_1071 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-ab31a9ed2-20230824",
|
||||
version: "18.3.0-canary-b798223a6-20230825",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1269 = {
|
||||
@@ -9069,7 +9069,7 @@ var internals$jscomp$inline_1269 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-ab31a9ed2-20230824"
|
||||
reconcilerVersion: "18.3.0-canary-b798223a6-20230825"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1270 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ if (
|
||||
}
|
||||
"use strict";
|
||||
|
||||
var ReactVersion = "18.3.0-canary-ab31a9ed2-20230824";
|
||||
var ReactVersion = "18.3.0-canary-b798223a6-20230825";
|
||||
|
||||
// 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-ab31a9ed2-20230824";
|
||||
exports.version = "18.3.0-canary-b798223a6-20230825";
|
||||
|
||||
+1
-1
@@ -619,7 +619,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactCurrentDispatcher.current.useTransition();
|
||||
};
|
||||
exports.version = "18.3.0-canary-ab31a9ed2-20230824";
|
||||
exports.version = "18.3.0-canary-b798223a6-20230825";
|
||||
|
||||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
||||
if (
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
ab31a9ed28d340172440e4b12e27d2af689249b3
|
||||
b798223a620dad77077d27e53cc99cbd54312d99
|
||||
|
||||
Reference in New Issue
Block a user