Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Broken Links In Documentation #28321

Merged
merged 8 commits into from
Mar 3, 2024
2 changes: 1 addition & 1 deletion fixtures/dom/src/components/fixtures/suspense/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class TextInputFixtures extends React.Component {

<Fixture>
<SuspendyTree>
<img src="https://upload.wikimedia.org/wikipedia/commons/e/ee/Atom_%282%29.png" />
<img src="https://upload.wikimedia.org/wikipedia/commons/1/1b/Atom.png" />
React is cool
</SuspendyTree>
</Fixture>
Expand Down
2 changes: 1 addition & 1 deletion packages/react-devtools-shared/src/devtools/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {createContext} from 'react';
// TODO (cache) Remove this cache; it is outdated and will not work with newer APIs like startTransition.

// Cache implementation was forked from the React repo:
// https://github.com/facebook/react/blob/main/packages/react-cache/src/ReactCache.js
// https://github.com/facebook/react/blob/main/packages/react-cache/src/ReactCacheOld.js
//
// This cache is simpler than react-cache in that:
// 1. Individual items don't need to be invalidated.
Expand Down
2 changes: 1 addition & 1 deletion packages/react-devtools-timeline/src/view-base/Surface.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type ViewRefs = {
hoveredView: View | null,
};

// hidpi canvas: https://www.html5rocks.com/en/tutorials/canvas/hidpi/
// hidpi canvas: https://web.dev/articles/canvas-hidipi
function configureRetinaCanvas(
canvas: HTMLCanvasElement,
height: number,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @flow
*/

// Adapted from: https://github.com/facebookarchive/fixed-data-table/blob/main/src/vendor_upstream/dom/normalizeWheel.js
// Adapted from: https://github.com/facebookarchive/fixed-data-table/blob/master/src/vendor_upstream/dom/normalizeWheel.js

export type NormalizedWheelDelta = {
deltaX: number,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3710,7 +3710,7 @@ export function pushStartInstance(
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':
case 'font-face':
Expand Down
2 changes: 1 addition & 1 deletion packages/react-dom-bindings/src/shared/isCustomElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function isCustomElement(tagName: string, props: Object): boolean {
// 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':
Expand Down