|
12355 | 12355 | if (
|
12356 | 12356 | ((hoistableRoot = maybeNodes[i]),
|
12357 | 12357 | hoistableRoot.getAttribute("href") ===
|
12358 |
| - (null == current.href ? null : current.href) && |
| 12358 | + (null == current.href || "" === current.href |
| 12359 | + ? null |
| 12360 | + : current.href) && |
12359 | 12361 | hoistableRoot.getAttribute("rel") ===
|
12360 | 12362 | (null == current.rel ? null : current.rel) &&
|
12361 | 12363 | hoistableRoot.getAttribute("title") ===
|
@@ -19593,36 +19595,34 @@
|
19593 | 19595 | }
|
19594 | 19596 | case "src":
|
19595 | 19597 | case "href":
|
19596 |
| - "" !== propKey || |
19597 |
| - ("a" === tag && "href" === value) || |
19598 |
| - ("object" === tag && "data" === value) |
19599 |
| - ? hydrateSanitizedAttribute( |
19600 |
| - domElement, |
19601 |
| - value, |
19602 |
| - value, |
19603 |
| - propKey, |
19604 |
| - extraAttributes, |
19605 |
| - serverDifferences |
19606 |
| - ) |
19607 |
| - : ("src" === value |
19608 |
| - ? console.error( |
19609 |
| - 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', |
19610 |
| - value, |
19611 |
| - value |
19612 |
| - ) |
19613 |
| - : console.error( |
19614 |
| - 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', |
19615 |
| - value, |
19616 |
| - value |
19617 |
| - ), |
19618 |
| - hydrateSanitizedAttribute( |
19619 |
| - domElement, |
19620 |
| - value, |
19621 |
| - value, |
19622 |
| - null, |
19623 |
| - extraAttributes, |
19624 |
| - serverDifferences |
19625 |
| - )); |
| 19598 | + if ( |
| 19599 | + !( |
| 19600 | + "" !== propKey || |
| 19601 | + ("a" === tag && "href" === value) || |
| 19602 | + ("object" === tag && "data" === value) |
| 19603 | + ) |
| 19604 | + ) { |
| 19605 | + "src" === value |
| 19606 | + ? console.error( |
| 19607 | + 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', |
| 19608 | + value, |
| 19609 | + value |
| 19610 | + ) |
| 19611 | + : console.error( |
| 19612 | + 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', |
| 19613 | + value, |
| 19614 | + value |
| 19615 | + ); |
| 19616 | + continue; |
| 19617 | + } |
| 19618 | + hydrateSanitizedAttribute( |
| 19619 | + domElement, |
| 19620 | + value, |
| 19621 | + value, |
| 19622 | + propKey, |
| 19623 | + extraAttributes, |
| 19624 | + serverDifferences |
| 19625 | + ); |
19626 | 19626 | continue;
|
19627 | 19627 | case "action":
|
19628 | 19628 | case "formAction":
|
|
20240 | 20240 | else if (
|
20241 | 20241 | name !== anyProps.rel ||
|
20242 | 20242 | instance.getAttribute("href") !==
|
20243 |
| - (null == anyProps.href ? null : anyProps.href) || |
| 20243 | + (null == anyProps.href || "" === anyProps.href |
| 20244 | + ? null |
| 20245 | + : anyProps.href) || |
20244 | 20246 | instance.getAttribute("crossorigin") !==
|
20245 | 20247 | (null == anyProps.crossOrigin
|
20246 | 20248 | ? null
|
@@ -25702,11 +25704,11 @@
|
25702 | 25704 | };
|
25703 | 25705 | (function () {
|
25704 | 25706 | var isomorphicReactPackageVersion = React.version;
|
25705 |
| - if ("19.1.0-experimental-3b009b4c-20250102" !== isomorphicReactPackageVersion) |
| 25707 | + if ("19.1.0-experimental-3ce77d55-20250106" !== isomorphicReactPackageVersion) |
25706 | 25708 | throw Error(
|
25707 | 25709 | 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25708 | 25710 | (isomorphicReactPackageVersion +
|
25709 |
| - "\n - react-dom: 19.1.0-experimental-3b009b4c-20250102\nLearn more: https://react.dev/warnings/version-mismatch") |
| 25711 | + "\n - react-dom: 19.1.0-experimental-3ce77d55-20250106\nLearn more: https://react.dev/warnings/version-mismatch") |
25710 | 25712 | );
|
25711 | 25713 | })();
|
25712 | 25714 | ("function" === typeof Map &&
|
@@ -25743,10 +25745,10 @@
|
25743 | 25745 | !(function () {
|
25744 | 25746 | var internals = {
|
25745 | 25747 | bundleType: 1,
|
25746 |
| - version: "19.1.0-experimental-3b009b4c-20250102", |
| 25748 | + version: "19.1.0-experimental-3ce77d55-20250106", |
25747 | 25749 | rendererPackageName: "react-dom",
|
25748 | 25750 | currentDispatcherRef: ReactSharedInternals,
|
25749 |
| - reconcilerVersion: "19.1.0-experimental-3b009b4c-20250102" |
| 25751 | + reconcilerVersion: "19.1.0-experimental-3ce77d55-20250106" |
25750 | 25752 | };
|
25751 | 25753 | internals.overrideHookState = overrideHookState;
|
25752 | 25754 | internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
26220 | 26222 | exports.useFormStatus = function () {
|
26221 | 26223 | return resolveDispatcher().useHostTransitionStatus();
|
26222 | 26224 | };
|
26223 |
| - exports.version = "19.1.0-experimental-3b009b4c-20250102"; |
| 26225 | + exports.version = "19.1.0-experimental-3ce77d55-20250106"; |
26224 | 26226 | "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
26225 | 26227 | "function" ===
|
26226 | 26228 | typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
|
0 commit comments