Skip to content

Commit 4c1a6b4

Browse files
committed
[Fizz] Responsive images should not be preloaded with link headers (#32445)
Link headers are optionally supported for cases where you prefer to send resource loading hints before you're ready to send the body of a request. While many resources can be correctly preloaded from a link header responsive images are currently not supported and end up preloading the default src rather than the correctly sized image. Until responsive images are supported React will not allow these images to preload as headers and will retain them to preload as HTML. closes: #32437 DiffTrain build for [9b042f9](9b042f9)
1 parent bdd0f24 commit 4c1a6b4

36 files changed

+98
-86
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
662957cc735a7f630b497ada45af8ff39684d2b9
1+
9b042f9d593f965d8c7a42f8f5fce322f403381b
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
662957cc735a7f630b497ada45af8ff39684d2b9
1+
9b042f9d593f965d8c7a42f8f5fce322f403381b

compiled/facebook-www/React-dev.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,7 @@ __DEV__ &&
15751575
exports.useTransition = function () {
15761576
return resolveDispatcher().useTransition();
15771577
};
1578-
exports.version = "19.1.0-www-classic-662957cc-20250221";
1578+
exports.version = "19.1.0-www-classic-9b042f9d-20250221";
15791579
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15801580
"function" ===
15811581
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-dev.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,7 @@ __DEV__ &&
15751575
exports.useTransition = function () {
15761576
return resolveDispatcher().useTransition();
15771577
};
1578-
exports.version = "19.1.0-www-modern-662957cc-20250221";
1578+
exports.version = "19.1.0-www-modern-9b042f9d-20250221";
15791579
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15801580
"function" ===
15811581
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-prod.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,4 +641,4 @@ exports.useSyncExternalStore = function (
641641
exports.useTransition = function () {
642642
return ReactSharedInternals.H.useTransition();
643643
};
644-
exports.version = "19.1.0-www-classic-662957cc-20250221";
644+
exports.version = "19.1.0-www-classic-9b042f9d-20250221";

compiled/facebook-www/React-prod.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,4 +641,4 @@ exports.useSyncExternalStore = function (
641641
exports.useTransition = function () {
642642
return ReactSharedInternals.H.useTransition();
643643
};
644-
exports.version = "19.1.0-www-modern-662957cc-20250221";
644+
exports.version = "19.1.0-www-modern-9b042f9d-20250221";

compiled/facebook-www/React-profiling.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
645645
exports.useTransition = function () {
646646
return ReactSharedInternals.H.useTransition();
647647
};
648-
exports.version = "19.1.0-www-classic-662957cc-20250221";
648+
exports.version = "19.1.0-www-classic-9b042f9d-20250221";
649649
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
650650
"function" ===
651651
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-profiling.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
645645
exports.useTransition = function () {
646646
return ReactSharedInternals.H.useTransition();
647647
};
648-
exports.version = "19.1.0-www-modern-662957cc-20250221";
648+
exports.version = "19.1.0-www-modern-9b042f9d-20250221";
649649
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
650650
"function" ===
651651
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17387,10 +17387,10 @@ __DEV__ &&
1738717387
(function () {
1738817388
var internals = {
1738917389
bundleType: 1,
17390-
version: "19.1.0-www-classic-662957cc-20250221",
17390+
version: "19.1.0-www-classic-9b042f9d-20250221",
1739117391
rendererPackageName: "react-art",
1739217392
currentDispatcherRef: ReactSharedInternals,
17393-
reconcilerVersion: "19.1.0-www-classic-662957cc-20250221"
17393+
reconcilerVersion: "19.1.0-www-classic-9b042f9d-20250221"
1739417394
};
1739517395
internals.overrideHookState = overrideHookState;
1739617396
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17424,7 +17424,7 @@ __DEV__ &&
1742417424
exports.Shape = Shape;
1742517425
exports.Surface = Surface;
1742617426
exports.Text = Text;
17427-
exports.version = "19.1.0-www-classic-662957cc-20250221";
17427+
exports.version = "19.1.0-www-classic-9b042f9d-20250221";
1742817428
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1742917429
"function" ===
1743017430
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.modern.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17159,10 +17159,10 @@ __DEV__ &&
1715917159
(function () {
1716017160
var internals = {
1716117161
bundleType: 1,
17162-
version: "19.1.0-www-modern-662957cc-20250221",
17162+
version: "19.1.0-www-modern-9b042f9d-20250221",
1716317163
rendererPackageName: "react-art",
1716417164
currentDispatcherRef: ReactSharedInternals,
17165-
reconcilerVersion: "19.1.0-www-modern-662957cc-20250221"
17165+
reconcilerVersion: "19.1.0-www-modern-9b042f9d-20250221"
1716617166
};
1716717167
internals.overrideHookState = overrideHookState;
1716817168
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17196,7 +17196,7 @@ __DEV__ &&
1719617196
exports.Shape = Shape;
1719717197
exports.Surface = Surface;
1719817198
exports.Text = Text;
17199-
exports.version = "19.1.0-www-modern-662957cc-20250221";
17199+
exports.version = "19.1.0-www-modern-9b042f9d-20250221";
1720017200
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1720117201
"function" ===
1720217202
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)