You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restore old behavior for empty href props on anchor tags (#28124)
Treat `<a href="" />` the same with and without
`enableFilterEmptyStringAttributesDOM`
in #18513 we started to warn and
ignore for empty `href` and `src` props since it usually hinted at a
mistake. However, for anchor tags there's a valid use case since `<a
href=""></a>` will by spec render a link to the current page. It could
be used to reload the page without having to rely on browser
affordances.
The implementation for Fizz is in the spirit of
#21153. I gated the fork behind
the flag so that the fork is DCE'd when the flag is off.
DiffTrain build for commit f3ce87a.
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25623,7 +25623,7 @@ if (__DEV__) {
25623
25623
return root;
25624
25624
}
25625
25625
25626
-
var ReactVersion = "18.3.0-canary-af7e8c7a7-20240130";
25626
+
var ReactVersion = "18.3.0-canary-f3ce87ab6-20240131";
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9149,7 +9149,7 @@ var devToolsConfig$jscomp$inline_1031 = {
9149
9149
throwError("TestRenderer does not support findFiberByHostInstance()");
9150
9150
},
9151
9151
bundleType: 0,
9152
-
version: "18.3.0-canary-af7e8c7a7-20240130",
9152
+
version: "18.3.0-canary-f3ce87ab6-20240131",
9153
9153
rendererPackageName: "react-test-renderer"
9154
9154
};
9155
9155
varinternals$jscomp$inline_1207={
@@ -9180,7 +9180,7 @@ var internals$jscomp$inline_1207 = {
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9577,7 +9577,7 @@ var devToolsConfig$jscomp$inline_1073 = {
9577
9577
throwError("TestRenderer does not support findFiberByHostInstance()");
9578
9578
},
9579
9579
bundleType: 0,
9580
-
version: "18.3.0-canary-af7e8c7a7-20240130",
9580
+
version: "18.3.0-canary-f3ce87ab6-20240131",
9581
9581
rendererPackageName: "react-test-renderer"
9582
9582
};
9583
9583
varinternals$jscomp$inline_1248={
@@ -9608,7 +9608,7 @@ var internals$jscomp$inline_1248 = {
0 commit comments