Skip to content

Commit

Permalink
Update /link URLs to react.dev (#28477)
Browse files Browse the repository at this point in the history
Depends on reactjs/react.dev#6670 [merged]

DiffTrain build for [1940cb2](1940cb2)
  • Loading branch information
rickhanlonii committed Mar 3, 2024
1 parent 6e4aad3 commit a8b2c82
Show file tree
Hide file tree
Showing 26 changed files with 390 additions and 390 deletions.
8 changes: 4 additions & 4 deletions compiled/facebook-www/JSXDEVRuntime-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ if (__DEV__) {
"This case cannot be automatically converted to an arrow function. " +
"We ask you to manually fix this case by using useRef() or createRef() instead. " +
"Learn more about using refs safely here: " +
"https://reactjs.org/link/strict-mode-string-ref",
"https://react.dev/link/strict-mode-string-ref",
getComponentNameFromType(ReactCurrentOwner.current.type),
config.ref
);
Expand All @@ -889,7 +889,7 @@ if (__DEV__) {
"%s: `key` is not a prop. Trying to access it will result " +
"in `undefined` being returned. If you need to access the same " +
"value within the child component, you should pass it as a different " +
"prop. (https://reactjs.org/link/special-props)",
"prop. (https://react.dev/link/special-props)",
displayName
);
}
Expand All @@ -914,7 +914,7 @@ if (__DEV__) {
"%s: `ref` is not a prop. Trying to access it will result " +
"in `undefined` being returned. If you need to access the same " +
"value within the child component, you should pass it as a different " +
"prop. (https://reactjs.org/link/special-props)",
"prop. (https://react.dev/link/special-props)",
displayName
);
}
Expand Down Expand Up @@ -1414,7 +1414,7 @@ if (__DEV__) {

error(
'Each child in a list should have a unique "key" prop.' +
"%s%s See https://reactjs.org/link/warning-keys for more information.",
"%s%s See https://react.dev/link/warning-keys for more information.",
currentComponentErrorInfo,
childOwner
);
Expand Down
8 changes: 4 additions & 4 deletions compiled/facebook-www/JSXDEVRuntime-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ if (__DEV__) {
"This case cannot be automatically converted to an arrow function. " +
"We ask you to manually fix this case by using useRef() or createRef() instead. " +
"Learn more about using refs safely here: " +
"https://reactjs.org/link/strict-mode-string-ref",
"https://react.dev/link/strict-mode-string-ref",
getComponentNameFromType(ReactCurrentOwner.current.type),
config.ref
);
Expand All @@ -889,7 +889,7 @@ if (__DEV__) {
"%s: `key` is not a prop. Trying to access it will result " +
"in `undefined` being returned. If you need to access the same " +
"value within the child component, you should pass it as a different " +
"prop. (https://reactjs.org/link/special-props)",
"prop. (https://react.dev/link/special-props)",
displayName
);
}
Expand All @@ -914,7 +914,7 @@ if (__DEV__) {
"%s: `ref` is not a prop. Trying to access it will result " +
"in `undefined` being returned. If you need to access the same " +
"value within the child component, you should pass it as a different " +
"prop. (https://reactjs.org/link/special-props)",
"prop. (https://react.dev/link/special-props)",
displayName
);
}
Expand Down Expand Up @@ -1414,7 +1414,7 @@ if (__DEV__) {

error(
'Each child in a list should have a unique "key" prop.' +
"%s%s See https://reactjs.org/link/warning-keys for more information.",
"%s%s See https://react.dev/link/warning-keys for more information.",
currentComponentErrorInfo,
childOwner
);
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2f8f7760223241665f472a2a9be16650473bce39
1940cb27b260c2eab79c76763d1151ba18353ff8
12 changes: 6 additions & 6 deletions compiled/facebook-www/React-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (__DEV__) {
) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
var ReactVersion = "18.3.0-www-classic-7829c2f7";
var ReactVersion = "18.3.0-www-classic-14ddc39a";

// ATTENTION
// When adding new symbols to this file,
Expand Down Expand Up @@ -1237,7 +1237,7 @@ if (__DEV__) {
"This case cannot be automatically converted to an arrow function. " +
"We ask you to manually fix this case by using useRef() or createRef() instead. " +
"Learn more about using refs safely here: " +
"https://reactjs.org/link/strict-mode-string-ref",
"https://react.dev/link/strict-mode-string-ref",
getComponentNameFromType(ReactCurrentOwner.current.type),
config.ref
);
Expand All @@ -1258,7 +1258,7 @@ if (__DEV__) {
"%s: `key` is not a prop. Trying to access it will result " +
"in `undefined` being returned. If you need to access the same " +
"value within the child component, you should pass it as a different " +
"prop. (https://reactjs.org/link/special-props)",
"prop. (https://react.dev/link/special-props)",
displayName
);
}
Expand All @@ -1283,7 +1283,7 @@ if (__DEV__) {
"%s: `ref` is not a prop. Trying to access it will result " +
"in `undefined` being returned. If you need to access the same " +
"value within the child component, you should pass it as a different " +
"prop. (https://reactjs.org/link/special-props)",
"prop. (https://react.dev/link/special-props)",
displayName
);
}
Expand Down Expand Up @@ -2147,7 +2147,7 @@ if (__DEV__) {

error(
'Each child in a list should have a unique "key" prop.' +
"%s%s See https://reactjs.org/link/warning-keys for more information.",
"%s%s See https://react.dev/link/warning-keys for more information.",
currentComponentErrorInfo,
childOwner
);
Expand Down Expand Up @@ -3013,7 +3013,7 @@ if (__DEV__) {
"1. You might have mismatching versions of React and the renderer (such as React DOM)\n" +
"2. You might be breaking the Rules of Hooks\n" +
"3. You might have more than one copy of React in the same app\n" +
"See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."
"See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
);
}
} // Will result in a null access error if accessed outside render phase. We
Expand Down
12 changes: 6 additions & 6 deletions compiled/facebook-www/React-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (__DEV__) {
) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
var ReactVersion = "18.3.0-www-modern-99dd25e6";
var ReactVersion = "18.3.0-www-modern-76412cae";

// ATTENTION
// When adding new symbols to this file,
Expand Down Expand Up @@ -1237,7 +1237,7 @@ if (__DEV__) {
"This case cannot be automatically converted to an arrow function. " +
"We ask you to manually fix this case by using useRef() or createRef() instead. " +
"Learn more about using refs safely here: " +
"https://reactjs.org/link/strict-mode-string-ref",
"https://react.dev/link/strict-mode-string-ref",
getComponentNameFromType(ReactCurrentOwner.current.type),
config.ref
);
Expand All @@ -1258,7 +1258,7 @@ if (__DEV__) {
"%s: `key` is not a prop. Trying to access it will result " +
"in `undefined` being returned. If you need to access the same " +
"value within the child component, you should pass it as a different " +
"prop. (https://reactjs.org/link/special-props)",
"prop. (https://react.dev/link/special-props)",
displayName
);
}
Expand All @@ -1283,7 +1283,7 @@ if (__DEV__) {
"%s: `ref` is not a prop. Trying to access it will result " +
"in `undefined` being returned. If you need to access the same " +
"value within the child component, you should pass it as a different " +
"prop. (https://reactjs.org/link/special-props)",
"prop. (https://react.dev/link/special-props)",
displayName
);
}
Expand Down Expand Up @@ -2103,7 +2103,7 @@ if (__DEV__) {

error(
'Each child in a list should have a unique "key" prop.' +
"%s%s See https://reactjs.org/link/warning-keys for more information.",
"%s%s See https://react.dev/link/warning-keys for more information.",
currentComponentErrorInfo,
childOwner
);
Expand Down Expand Up @@ -2969,7 +2969,7 @@ if (__DEV__) {
"1. You might have mismatching versions of React and the renderer (such as React DOM)\n" +
"2. You might be breaking the Rules of Hooks\n" +
"3. You might have more than one copy of React in the same app\n" +
"See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."
"See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
);
}
} // Will result in a null access error if accessed outside render phase. We
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,4 +633,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-www-classic-d9a6038e";
exports.version = "18.3.0-www-classic-61b84c37";
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -625,4 +625,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-www-modern-4bf685e4";
exports.version = "18.3.0-www-modern-b83cf0f1";
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-profiling.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-www-modern-03577a43";
exports.version = "18.3.0-www-modern-54bc703c";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Loading

0 comments on commit a8b2c82

Please sign in to comment.