mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove XHR support from Flight (#26827)
We currently support passing an XHR request to Flight for broader compat and possibly better perf than `fetch()`. However, it's a little tricky because ideally the RSC protocol is really meant to support binary data too. XHR does support binary but it doesn't support it while also streaming. We could maybe support this only when you know it's going to be only text streams but it has some limitations in how we can encode separators if we can't use binary. Nobody is really asking for this so we might as well delete it. DiffTrain build for commit https://github.com/facebook/react/commit/e6fae308e9300ca545003ac147cc7e4e541f561c.
This commit is contained in:
+1
-1
@@ -23922,7 +23922,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-canary-f181ba8aa-20230603";
|
||||
var ReactVersion = "18.3.0-canary-e6fae308e-20230603";
|
||||
|
||||
// Might add PROFILE later.
|
||||
|
||||
|
||||
+2
-2
@@ -8617,7 +8617,7 @@ var devToolsConfig$jscomp$inline_1031 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-f181ba8aa-20230603",
|
||||
version: "18.3.0-canary-e6fae308e-20230603",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1230 = {
|
||||
@@ -8648,7 +8648,7 @@ var internals$jscomp$inline_1230 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-f181ba8aa-20230603"
|
||||
reconcilerVersion: "18.3.0-canary-e6fae308e-20230603"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1231 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+2
-2
@@ -9043,7 +9043,7 @@ var devToolsConfig$jscomp$inline_1073 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-f181ba8aa-20230603",
|
||||
version: "18.3.0-canary-e6fae308e-20230603",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1271 = {
|
||||
@@ -9074,7 +9074,7 @@ var internals$jscomp$inline_1271 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-f181ba8aa-20230603"
|
||||
reconcilerVersion: "18.3.0-canary-e6fae308e-20230603"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1272 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ if (
|
||||
}
|
||||
"use strict";
|
||||
|
||||
var ReactVersion = "18.3.0-canary-f181ba8aa-20230603";
|
||||
var ReactVersion = "18.3.0-canary-e6fae308e-20230603";
|
||||
|
||||
// ATTENTION
|
||||
// When adding new symbols to this file,
|
||||
|
||||
+1
-1
@@ -642,4 +642,4 @@ exports.useSyncExternalStore = function (
|
||||
);
|
||||
};
|
||||
exports.useTransition = useTransition;
|
||||
exports.version = "18.3.0-canary-f181ba8aa-20230603";
|
||||
exports.version = "18.3.0-canary-e6fae308e-20230603";
|
||||
|
||||
+1
-1
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
|
||||
);
|
||||
};
|
||||
exports.useTransition = useTransition;
|
||||
exports.version = "18.3.0-canary-f181ba8aa-20230603";
|
||||
exports.version = "18.3.0-canary-e6fae308e-20230603";
|
||||
|
||||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
||||
if (
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
f181ba8aa6339d62f6e2572109c61242606f16b3
|
||||
e6fae308e9300ca545003ac147cc7e4e541f561c
|
||||
|
||||
Reference in New Issue
Block a user