@samitouri / QOS-React-2 / commits / 034130c02f

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:

Justin Dhillon committed Mar 3, 2024 at 14:44 UTC 034130c02ffb47b0026059b57d17e9b080976ff3
6 files changed +6 -6
fixtures/dom/src/components/fixtures/suspense/index.js
+1 -1
@@ -213,7 +213,7 @@ class TextInputFixtures extends React.Component {
213
214 <Fixture>
215 <SuspendyTree>
216 - <img src="https://upload.wikimedia.org/wikipedia/commons/e/ee/Atom_%282%29.png" />
216 + <img src="https://upload.wikimedia.org/wikipedia/commons/1/1b/Atom.png" />
217 React is cool
218 </SuspendyTree>
219 </Fixture>
packages/react-devtools-shared/src/devtools/cache.js
+1 -1
@@ -15,7 +15,7 @@ import {createContext} from 'react';
15 // TODO (cache) Remove this cache; it is outdated and will not work with newer APIs like startTransition.
16
17 // Cache implementation was forked from the React repo:
18 -// https://github.com/facebook/react/blob/main/packages/react-cache/src/ReactCache.js
18 +// https://github.com/facebook/react/blob/main/packages/react-cache/src/ReactCacheOld.js
19 //
20 // This cache is simpler than react-cache in that:
21 // 1. Individual items don't need to be invalidated.
packages/react-devtools-timeline/src/view-base/Surface.js
+1 -1
@@ -21,7 +21,7 @@ export type ViewRefs = {
21 hoveredView: View | null,
22 };
23
24 -// hidpi canvas: https://www.html5rocks.com/en/tutorials/canvas/hidpi/
24 +// hidpi canvas: https://web.dev/articles/canvas-hidipi
25 function configureRetinaCanvas(
26 canvas: HTMLCanvasElement,
27 height: number,
packages/react-devtools-timeline/src/view-base/utils/normalizeWheel.js
+1 -1
@@ -7,7 +7,7 @@
7 * @flow
8 */
9
10 -// Adapted from: https://github.com/facebookarchive/fixed-data-table/blob/main/src/vendor_upstream/dom/normalizeWheel.js
10 +// Adapted from: https://github.com/facebookarchive/fixed-data-table/blob/master/src/vendor_upstream/dom/normalizeWheel.js
11
12 export type NormalizedWheelDelta = {
13 deltaX: number,
packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js
+1 -1
@@ -3710,7 +3710,7 @@ export function pushStartInstance(
3710 return pushSelfClosing(target, props, type);
3711 }
3712 // These are reserved SVG and MathML elements, that are never custom elements.
3713 - // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts
3713 + // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts
3714 case 'annotation-xml':
3715 case 'color-profile':
3716 case 'font-face':
packages/react-dom-bindings/src/shared/isCustomElement.js
+1 -1
@@ -15,7 +15,7 @@ function isCustomElement(tagName: string, props: Object): boolean {
15 // These are reserved SVG and MathML elements.
16 // We don't mind this list too much because we expect it to never grow.
17 // The alternative is to track the namespace in a few places which is convoluted.
18 - // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts
18 + // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts
19 case 'annotation-xml':
20 case 'color-profile':
21 case 'font-face':