mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[Fizz][Float] emit viewport meta before preloads (#27201)
Fixes: #27200 preloads for images that appear before the viewport meta may be loaded twice because the proper device image information is not used with the preload but is with the image itself. The viewport meta should be emitted earlier than all preloads to avoid this. this change moves the queue for the viewport meta to preconnects which already has the right priority for this tag DiffTrain build for commit https://github.com/facebook/react/commit/ea17cc18f458010c89c1bf494be08bb782d034af.
This commit is contained in:
+1
-1
@@ -23982,7 +23982,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-canary-997f52fbb-20230803";
|
||||
var ReactVersion = "18.3.0-canary-ea17cc18f-20230807";
|
||||
|
||||
// Might add PROFILE later.
|
||||
|
||||
|
||||
+2
-2
@@ -8630,7 +8630,7 @@ var devToolsConfig$jscomp$inline_1032 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-997f52fbb-20230803",
|
||||
version: "18.3.0-canary-ea17cc18f-20230807",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1231 = {
|
||||
@@ -8661,7 +8661,7 @@ var internals$jscomp$inline_1231 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-997f52fbb-20230803"
|
||||
reconcilerVersion: "18.3.0-canary-ea17cc18f-20230807"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1232 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+2
-2
@@ -9056,7 +9056,7 @@ var devToolsConfig$jscomp$inline_1074 = {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-canary-997f52fbb-20230803",
|
||||
version: "18.3.0-canary-ea17cc18f-20230807",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
};
|
||||
var internals$jscomp$inline_1272 = {
|
||||
@@ -9087,7 +9087,7 @@ var internals$jscomp$inline_1272 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-canary-997f52fbb-20230803"
|
||||
reconcilerVersion: "18.3.0-canary-ea17cc18f-20230807"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1273 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ if (
|
||||
}
|
||||
"use strict";
|
||||
|
||||
var ReactVersion = "18.3.0-canary-997f52fbb-20230803";
|
||||
var ReactVersion = "18.3.0-canary-ea17cc18f-20230807";
|
||||
|
||||
// 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-997f52fbb-20230803";
|
||||
exports.version = "18.3.0-canary-ea17cc18f-20230807";
|
||||
|
||||
+1
-1
@@ -619,7 +619,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactCurrentDispatcher.current.useTransition();
|
||||
};
|
||||
exports.version = "18.3.0-canary-997f52fbb-20230803";
|
||||
exports.version = "18.3.0-canary-ea17cc18f-20230807";
|
||||
|
||||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
||||
if (
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
997f52fbb30ec4b777b66edcdd75f594d9fe0c55
|
||||
ea17cc18f458010c89c1bf494be08bb782d034af
|
||||
|
||||
Reference in New Issue
Block a user