From fb789a0c0faa3914b5bcd4dda62755b29c3923ba Mon Sep 17 00:00:00 2001 From: rickhanlonii Date: Sun, 3 Mar 2024 22:48:08 +0000 Subject: [PATCH] Fix Broken Links In Documentation (#28321) ## Summary I used [link-inspector](https://github.com/justindhillon/link-inspector) to find a bunch of broken links in this projects documentation. Here is what I fixed: https://www.html5rocks.com/en/tutorials/canvas/hidpi/ --> https://web.dev/articles/canvas-hidipi https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts --> https://www.w3.org/TR/custom-elements/ https://github.com/facebookarchive/fixed-data-table/blob/main/src/vendor_upstream/dom/normalizeWheel.js --> https://github.com/facebookarchive/fixed-data-table/blob/master/src/vendor_upstream/dom/normalizeWheel.js https://upload.wikimedia.org/wikipedia/commons/e/ee/Atom_%282%29.png --> https://upload.wikimedia.org/wikipedia/commons/1/1b/Atom.png ## Support my work I used [link-inspector](https://github.com/justindhillon/link-inspector) to find and fix this issue. If you find this PR useful, give the repo a :star: DiffTrain build for [034130c02ffb47b0026059b57d17e9b080976ff3](https://github.com/facebook/react/commit/034130c02ffb47b0026059b57d17e9b080976ff3) --- compiled/facebook-www/REVISION | 2 +- compiled/facebook-www/React-prod.classic.js | 2 +- compiled/facebook-www/React-prod.modern.js | 2 +- compiled/facebook-www/ReactDOM-dev.classic.js | 4 ++-- compiled/facebook-www/ReactDOM-dev.modern.js | 4 ++-- compiled/facebook-www/ReactDOMServer-dev.classic.js | 6 +++--- compiled/facebook-www/ReactDOMServer-dev.modern.js | 6 +++--- compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js | 4 ++-- compiled/facebook-www/ReactDOMTesting-dev.classic.js | 4 ++-- compiled/facebook-www/ReactDOMTesting-dev.modern.js | 4 ++-- 10 files changed, 19 insertions(+), 19 deletions(-) diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index c20a06f2a3b56..5200e992aaa19 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -1940cb27b260c2eab79c76763d1151ba18353ff8 +034130c02ffb47b0026059b57d17e9b080976ff3 diff --git a/compiled/facebook-www/React-prod.classic.js b/compiled/facebook-www/React-prod.classic.js index da1548c15fe4f..3fec902975100 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -633,4 +633,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-www-classic-61b84c37"; +exports.version = "18.3.0-www-classic-a1436691"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index d3da2c84ccb70..83b80e32c1ea0 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -625,4 +625,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-www-modern-b83cf0f1"; +exports.version = "18.3.0-www-modern-fac556b3"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index 2a6699f89e7ea..cf0d141fccba3 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -6121,7 +6121,7 @@ if (__DEV__) { // These are reserved SVG and MathML elements. // We don't mind this list too much because we expect it to never grow. // The alternative is to track the namespace in a few places which is convoluted. - // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts + // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts case "annotation-xml": case "color-profile": case "font-face": @@ -36046,7 +36046,7 @@ if (__DEV__) { return root; } - var ReactVersion = "18.3.0-www-classic-cecf945d"; + var ReactVersion = "18.3.0-www-classic-375d7b0a"; function createPortal$1( children, diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js index 7dabdbfda3cef..677d514bea72f 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -5944,7 +5944,7 @@ if (__DEV__) { // These are reserved SVG and MathML elements. // We don't mind this list too much because we expect it to never grow. // The alternative is to track the namespace in a few places which is convoluted. - // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts + // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts case "annotation-xml": case "color-profile": case "font-face": @@ -35882,7 +35882,7 @@ if (__DEV__) { return root; } - var ReactVersion = "18.3.0-www-modern-77e7bd4e"; + var ReactVersion = "18.3.0-www-modern-ea38075a"; function createPortal$1( children, diff --git a/compiled/facebook-www/ReactDOMServer-dev.classic.js b/compiled/facebook-www/ReactDOMServer-dev.classic.js index 6ef1b7f4e18f7..2b18d74b315ce 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -19,7 +19,7 @@ if (__DEV__) { var React = require("react"); var ReactDOM = require("react-dom"); - var ReactVersion = "18.3.0-www-classic-24ac93b7"; + var ReactVersion = "18.3.0-www-classic-e23c55b6"; // This refers to a WWW module. var warningWWW = require("warning"); @@ -1152,7 +1152,7 @@ if (__DEV__) { // These are reserved SVG and MathML elements. // We don't mind this list too much because we expect it to never grow. // The alternative is to track the namespace in a few places which is convoluted. - // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts + // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts case "annotation-xml": case "color-profile": case "font-face": @@ -5860,7 +5860,7 @@ if (__DEV__) { return pushSelfClosing(target, props, type); } // These are reserved SVG and MathML elements, that are never custom elements. - // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts + // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts case "annotation-xml": case "color-profile": diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index d3dff9819cd66..327b4bad2228e 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -19,7 +19,7 @@ if (__DEV__) { var React = require("react"); var ReactDOM = require("react-dom"); - var ReactVersion = "18.3.0-www-modern-326ac7bd"; + var ReactVersion = "18.3.0-www-modern-a8780f15"; // This refers to a WWW module. var warningWWW = require("warning"); @@ -1152,7 +1152,7 @@ if (__DEV__) { // These are reserved SVG and MathML elements. // We don't mind this list too much because we expect it to never grow. // The alternative is to track the namespace in a few places which is convoluted. - // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts + // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts case "annotation-xml": case "color-profile": case "font-face": @@ -5860,7 +5860,7 @@ if (__DEV__) { return pushSelfClosing(target, props, type); } // These are reserved SVG and MathML elements, that are never custom elements. - // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts + // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts case "annotation-xml": case "color-profile": diff --git a/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js b/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js index fd961eb82fdf6..688f26837a4b0 100644 --- a/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js @@ -1149,7 +1149,7 @@ if (__DEV__) { // These are reserved SVG and MathML elements. // We don't mind this list too much because we expect it to never grow. // The alternative is to track the namespace in a few places which is convoluted. - // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts + // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts case "annotation-xml": case "color-profile": case "font-face": @@ -5859,7 +5859,7 @@ if (__DEV__) { return pushSelfClosing(target, props, type); } // These are reserved SVG and MathML elements, that are never custom elements. - // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts + // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts case "annotation-xml": case "color-profile": diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index 5449cba7ad0ac..cf4a3b0415e24 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -6258,7 +6258,7 @@ if (__DEV__) { // These are reserved SVG and MathML elements. // We don't mind this list too much because we expect it to never grow. // The alternative is to track the namespace in a few places which is convoluted. - // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts + // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts case "annotation-xml": case "color-profile": case "font-face": @@ -36670,7 +36670,7 @@ if (__DEV__) { return root; } - var ReactVersion = "18.3.0-www-classic-61b84c37"; + var ReactVersion = "18.3.0-www-classic-a1436691"; function createPortal$1( children, diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index 07d59de496868..971fa57f54b6f 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -6081,7 +6081,7 @@ if (__DEV__) { // These are reserved SVG and MathML elements. // We don't mind this list too much because we expect it to never grow. // The alternative is to track the namespace in a few places which is convoluted. - // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts + // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts case "annotation-xml": case "color-profile": case "font-face": @@ -36506,7 +36506,7 @@ if (__DEV__) { return root; } - var ReactVersion = "18.3.0-www-modern-f8aa8f51"; + var ReactVersion = "18.3.0-www-modern-f3f947b8"; function createPortal$1( children,