diff --git a/compiled/facebook-www/JSXDEVRuntime-dev.classic.js b/compiled/facebook-www/JSXDEVRuntime-dev.classic.js
index 544c06e57d..d7bb11fa36 100644
--- a/compiled/facebook-www/JSXDEVRuntime-dev.classic.js
+++ b/compiled/facebook-www/JSXDEVRuntime-dev.classic.js
@@ -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
);
@@ -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
);
}
@@ -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
);
}
@@ -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
);
diff --git a/compiled/facebook-www/JSXDEVRuntime-dev.modern.js b/compiled/facebook-www/JSXDEVRuntime-dev.modern.js
index 877685d8b4..7815d7cbc8 100644
--- a/compiled/facebook-www/JSXDEVRuntime-dev.modern.js
+++ b/compiled/facebook-www/JSXDEVRuntime-dev.modern.js
@@ -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
);
@@ -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
);
}
@@ -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
);
}
@@ -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
);
diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION
index 474070d97b..c20a06f2a3 100644
--- a/compiled/facebook-www/REVISION
+++ b/compiled/facebook-www/REVISION
@@ -1 +1 @@
-2f8f7760223241665f472a2a9be16650473bce39
+1940cb27b260c2eab79c76763d1151ba18353ff8
diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js
index 7acb0b88e1..4566515fbb 100644
--- a/compiled/facebook-www/React-dev.classic.js
+++ b/compiled/facebook-www/React-dev.classic.js
@@ -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,
@@ -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
);
@@ -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
);
}
@@ -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
);
}
@@ -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
);
@@ -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
diff --git a/compiled/facebook-www/React-dev.modern.js b/compiled/facebook-www/React-dev.modern.js
index 7f4515670d..999a6f2766 100644
--- a/compiled/facebook-www/React-dev.modern.js
+++ b/compiled/facebook-www/React-dev.modern.js
@@ -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,
@@ -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
);
@@ -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
);
}
@@ -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
);
}
@@ -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
);
@@ -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
diff --git a/compiled/facebook-www/React-prod.classic.js b/compiled/facebook-www/React-prod.classic.js
index 86bff68cb6..da1548c15f 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-d9a6038e";
+exports.version = "18.3.0-www-classic-61b84c37";
diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js
index c3a66f095c..d3da2c84cc 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-4bf685e4";
+exports.version = "18.3.0-www-modern-b83cf0f1";
diff --git a/compiled/facebook-www/React-profiling.modern.js b/compiled/facebook-www/React-profiling.modern.js
index 494c357a5f..e84fe6881e 100644
--- a/compiled/facebook-www/React-profiling.modern.js
+++ b/compiled/facebook-www/React-profiling.modern.js
@@ -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 &&
diff --git a/compiled/facebook-www/ReactART-dev.classic.js b/compiled/facebook-www/ReactART-dev.classic.js
index 8201d016a4..245c3c119c 100644
--- a/compiled/facebook-www/ReactART-dev.classic.js
+++ b/compiled/facebook-www/ReactART-dev.classic.js
@@ -66,7 +66,7 @@ if (__DEV__) {
return self;
}
- var ReactVersion = "18.3.0-www-classic-2abfd3d0";
+ var ReactVersion = "18.3.0-www-classic-20a604bc";
var LegacyRoot = 0;
var ConcurrentRoot = 1;
@@ -1129,7 +1129,7 @@ if (__DEV__) {
error(
"The installed version of React DevTools is too old and will not work " +
"with the current version of React. Please update React DevTools. " +
- "https://reactjs.org/link/react-devtools"
+ "https://react.dev/link/react-devtools"
);
} // DevTools exists, even though it doesn't support Fiber.
@@ -5772,7 +5772,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"\nPlease update the following components: %s",
sortedNames
@@ -5787,11 +5787,11 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillReceiveProps in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, " +
"refactor your code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"\nPlease update the following components: %s",
_sortedNames
);
@@ -5805,7 +5805,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillUpdate in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"\nPlease update the following components: %s",
_sortedNames2
@@ -5819,7 +5819,7 @@ if (__DEV__) {
warn(
"componentWillMount has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"* Rename componentWillMount to UNSAFE_componentWillMount to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -5837,11 +5837,11 @@ if (__DEV__) {
warn(
"componentWillReceiveProps has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, refactor your " +
"code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
"To rename all deprecated lifecycles to their new names, you can run " +
@@ -5858,7 +5858,7 @@ if (__DEV__) {
warn(
"componentWillUpdate has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -5931,7 +5931,7 @@ if (__DEV__) {
"\n\nThe old API will be supported in all 16.x releases, but applications " +
"using it should migrate to the new version." +
"\n\nPlease update the following components: %s" +
- "\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",
+ "\n\nLearn more about this warning here: https://react.dev/link/legacy-context",
sortedNames
);
} finally {
@@ -6354,7 +6354,7 @@ if (__DEV__) {
error(
"Each child in a list should have a unique " +
- '"key" prop. See https://reactjs.org/link/warning-keys for ' +
+ '"key" prop. See https://react.dev/link/warning-keys for ' +
"more information."
);
};
@@ -6397,7 +6397,7 @@ if (__DEV__) {
"1. You may be adding a ref to a function component\n" +
"2. You may be adding a ref to a component that was not created inside a component's render method\n" +
"3. You have multiple copies of React loaded\n" +
- "See https://reactjs.org/link/refs-must-have-owner for more information."
+ "See https://react.dev/link/refs-must-have-owner for more information."
);
}
@@ -6406,7 +6406,7 @@ if (__DEV__) {
"Function components cannot have string refs. " +
"We recommend using useRef() instead. " +
"Learn more about using refs safely here: " +
- "https://reactjs.org/link/strict-mode-string-ref"
+ "https://react.dev/link/strict-mode-string-ref"
);
}
@@ -6424,7 +6424,7 @@ if (__DEV__) {
"will be removed in a future major release. We recommend 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",
componentName,
stringRef
);
@@ -8486,7 +8486,7 @@ if (__DEV__) {
error(
"React has detected a change in the order of Hooks called by %s. " +
"This will lead to bugs and errors if not fixed. " +
- "For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n" +
+ "For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n" +
" Previous render Next render\n" +
" ------------------------------------------------------\n" +
"%s" +
@@ -8537,7 +8537,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."
);
}
@@ -11216,7 +11216,7 @@ if (__DEV__) {
"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. " +
"You can only call Hooks at the top level of your React function. " +
"For more information, see " +
- "https://reactjs.org/link/rules-of-hooks"
+ "https://react.dev/link/rules-of-hooks"
);
};
@@ -13259,7 +13259,7 @@ if (__DEV__) {
"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
"%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n" +
"The above lifecycles should be removed. Learn more about this warning here:\n" +
- "https://reactjs.org/link/unsafe-component-lifecycles",
+ "https://react.dev/link/unsafe-component-lifecycles",
_componentName,
newApiName,
foundWillMountName !== null ? "\n " + foundWillMountName : "",
@@ -13876,7 +13876,7 @@ if (__DEV__) {
if (boundary.tag === HostRoot) {
errorBoundaryMessage =
"Consider adding an error boundary to your tree to customize error handling behavior.\n" +
- "Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.";
+ "Visit https://react.dev/link/error-boundaries to learn more about error boundaries.";
} else {
var errorBoundaryName =
getComponentNameFromFiber(boundary) || "Anonymous";
@@ -21292,7 +21292,7 @@ if (__DEV__) {
" }\n" +
" fetchData();\n" +
"}, [someId]); // Or [] if effect doesn't need props or state\n\n" +
- "Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching";
+ "Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching";
} else {
addendum = " You returned: " + destroy;
}
@@ -28597,7 +28597,7 @@ if (__DEV__) {
error(
"Cannot update a component (`%s`) while rendering a " +
"different component (`%s`). To locate the bad setState() call inside `%s`, " +
- "follow the stack trace as described in https://reactjs.org/link/setstate-in-render",
+ "follow the stack trace as described in https://react.dev/link/setstate-in-render",
setStateComponentName,
renderingComponentName,
renderingComponentName
@@ -28706,7 +28706,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act",
+ " Learn more at https://react.dev/link/wrap-tests-with-act",
getComponentNameFromFiber(fiber)
);
} finally {
@@ -28738,7 +28738,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act"
+ " Learn more at https://react.dev/link/wrap-tests-with-act"
);
}
}
diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js
index 431f01832e..2075c8ae68 100644
--- a/compiled/facebook-www/ReactART-dev.modern.js
+++ b/compiled/facebook-www/ReactART-dev.modern.js
@@ -66,7 +66,7 @@ if (__DEV__) {
return self;
}
- var ReactVersion = "18.3.0-www-modern-62d2932f";
+ var ReactVersion = "18.3.0-www-modern-b085b614";
var LegacyRoot = 0;
var ConcurrentRoot = 1;
@@ -1126,7 +1126,7 @@ if (__DEV__) {
error(
"The installed version of React DevTools is too old and will not work " +
"with the current version of React. Please update React DevTools. " +
- "https://reactjs.org/link/react-devtools"
+ "https://react.dev/link/react-devtools"
);
} // DevTools exists, even though it doesn't support Fiber.
@@ -5537,7 +5537,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"\nPlease update the following components: %s",
sortedNames
@@ -5552,11 +5552,11 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillReceiveProps in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, " +
"refactor your code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"\nPlease update the following components: %s",
_sortedNames
);
@@ -5570,7 +5570,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillUpdate in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"\nPlease update the following components: %s",
_sortedNames2
@@ -5584,7 +5584,7 @@ if (__DEV__) {
warn(
"componentWillMount has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"* Rename componentWillMount to UNSAFE_componentWillMount to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -5602,11 +5602,11 @@ if (__DEV__) {
warn(
"componentWillReceiveProps has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, refactor your " +
"code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
"To rename all deprecated lifecycles to their new names, you can run " +
@@ -5623,7 +5623,7 @@ if (__DEV__) {
warn(
"componentWillUpdate has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -5696,7 +5696,7 @@ if (__DEV__) {
"\n\nThe old API will be supported in all 16.x releases, but applications " +
"using it should migrate to the new version." +
"\n\nPlease update the following components: %s" +
- "\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",
+ "\n\nLearn more about this warning here: https://react.dev/link/legacy-context",
sortedNames
);
} finally {
@@ -6119,7 +6119,7 @@ if (__DEV__) {
error(
"Each child in a list should have a unique " +
- '"key" prop. See https://reactjs.org/link/warning-keys for ' +
+ '"key" prop. See https://react.dev/link/warning-keys for ' +
"more information."
);
};
@@ -6162,7 +6162,7 @@ if (__DEV__) {
"1. You may be adding a ref to a function component\n" +
"2. You may be adding a ref to a component that was not created inside a component's render method\n" +
"3. You have multiple copies of React loaded\n" +
- "See https://reactjs.org/link/refs-must-have-owner for more information."
+ "See https://react.dev/link/refs-must-have-owner for more information."
);
}
@@ -6171,7 +6171,7 @@ if (__DEV__) {
"Function components cannot have string refs. " +
"We recommend using useRef() instead. " +
"Learn more about using refs safely here: " +
- "https://reactjs.org/link/strict-mode-string-ref"
+ "https://react.dev/link/strict-mode-string-ref"
);
}
@@ -6189,7 +6189,7 @@ if (__DEV__) {
"will be removed in a future major release. We recommend 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",
componentName,
stringRef
);
@@ -8251,7 +8251,7 @@ if (__DEV__) {
error(
"React has detected a change in the order of Hooks called by %s. " +
"This will lead to bugs and errors if not fixed. " +
- "For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n" +
+ "For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n" +
" Previous render Next render\n" +
" ------------------------------------------------------\n" +
"%s" +
@@ -8302,7 +8302,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."
);
}
@@ -10981,7 +10981,7 @@ if (__DEV__) {
"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. " +
"You can only call Hooks at the top level of your React function. " +
"For more information, see " +
- "https://reactjs.org/link/rules-of-hooks"
+ "https://react.dev/link/rules-of-hooks"
);
};
@@ -13006,7 +13006,7 @@ if (__DEV__) {
"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
"%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n" +
"The above lifecycles should be removed. Learn more about this warning here:\n" +
- "https://reactjs.org/link/unsafe-component-lifecycles",
+ "https://react.dev/link/unsafe-component-lifecycles",
_componentName,
newApiName,
foundWillMountName !== null ? "\n " + foundWillMountName : "",
@@ -13600,7 +13600,7 @@ if (__DEV__) {
if (boundary.tag === HostRoot) {
errorBoundaryMessage =
"Consider adding an error boundary to your tree to customize error handling behavior.\n" +
- "Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.";
+ "Visit https://react.dev/link/error-boundaries to learn more about error boundaries.";
} else {
var errorBoundaryName =
getComponentNameFromFiber(boundary) || "Anonymous";
@@ -20951,7 +20951,7 @@ if (__DEV__) {
" }\n" +
" fetchData();\n" +
"}, [someId]); // Or [] if effect doesn't need props or state\n\n" +
- "Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching";
+ "Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching";
} else {
addendum = " You returned: " + destroy;
}
@@ -28247,7 +28247,7 @@ if (__DEV__) {
error(
"Cannot update a component (`%s`) while rendering a " +
"different component (`%s`). To locate the bad setState() call inside `%s`, " +
- "follow the stack trace as described in https://reactjs.org/link/setstate-in-render",
+ "follow the stack trace as described in https://react.dev/link/setstate-in-render",
setStateComponentName,
renderingComponentName,
renderingComponentName
@@ -28356,7 +28356,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act",
+ " Learn more at https://react.dev/link/wrap-tests-with-act",
getComponentNameFromFiber(fiber)
);
} finally {
@@ -28388,7 +28388,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act"
+ " Learn more at https://react.dev/link/wrap-tests-with-act"
);
}
}
diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js
index 0a082b6a9b..2a6699f89e 100644
--- a/compiled/facebook-www/ReactDOM-dev.classic.js
+++ b/compiled/facebook-www/ReactDOM-dev.classic.js
@@ -1041,7 +1041,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
@@ -1386,7 +1386,7 @@ if (__DEV__) {
error(
"The installed version of React DevTools is too old and will not work " +
"with the current version of React. Please update React DevTools. " +
- "https://reactjs.org/link/react-devtools"
+ "https://react.dev/link/react-devtools"
);
} // DevTools exists, even though it doesn't support Fiber.
@@ -4060,7 +4060,7 @@ if (__DEV__) {
"(specify either the checked prop, or the defaultChecked prop, but not " +
"both). Decide between using a controlled or uncontrolled input " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
getCurrentFiberOwnerNameInDevOrNull() || "A component",
props.type
);
@@ -4079,7 +4079,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled input " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
getCurrentFiberOwnerNameInDevOrNull() || "A component",
props.type
);
@@ -4640,7 +4640,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled select " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components"
+ "https://react.dev/link/controlled-components"
);
didWarnValueDefaultValue = true;
@@ -4711,7 +4711,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled textarea " +
"and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
getCurrentFiberOwnerNameInDevOrNull() || "A component"
);
@@ -6871,14 +6871,14 @@ if (__DEV__) {
if (invalidProps.length === 1) {
error(
"Invalid aria prop %s on <%s> tag. " +
- "For details, see https://reactjs.org/link/invalid-aria-props",
+ "For details, see https://react.dev/link/invalid-aria-props",
unknownPropString,
type
);
} else if (invalidProps.length > 1) {
error(
"Invalid aria props %s on <%s> tag. " +
- "For details, see https://reactjs.org/link/invalid-aria-props",
+ "For details, see https://react.dev/link/invalid-aria-props",
unknownPropString,
type
);
@@ -7289,7 +7289,7 @@ if (__DEV__) {
error(
"Invalid value for prop %s on <%s> tag. Either remove it from the element, " +
"or pass a string or number value to keep it in the DOM. " +
- "For details, see https://reactjs.org/link/attribute-behavior ",
+ "For details, see https://react.dev/link/attribute-behavior ",
unknownPropString,
type
);
@@ -7297,7 +7297,7 @@ if (__DEV__) {
error(
"Invalid values for props %s on <%s> tag. Either remove them from the element, " +
"or pass a string or number value to keep them in the DOM. " +
- "For details, see https://reactjs.org/link/attribute-behavior ",
+ "For details, see https://react.dev/link/attribute-behavior ",
unknownPropString,
type
);
@@ -10568,7 +10568,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"\nPlease update the following components: %s",
sortedNames
@@ -10583,11 +10583,11 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillReceiveProps in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, " +
"refactor your code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"\nPlease update the following components: %s",
_sortedNames
);
@@ -10601,7 +10601,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillUpdate in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"\nPlease update the following components: %s",
_sortedNames2
@@ -10615,7 +10615,7 @@ if (__DEV__) {
warn(
"componentWillMount has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"* Rename componentWillMount to UNSAFE_componentWillMount to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -10633,11 +10633,11 @@ if (__DEV__) {
warn(
"componentWillReceiveProps has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, refactor your " +
"code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
"To rename all deprecated lifecycles to their new names, you can run " +
@@ -10654,7 +10654,7 @@ if (__DEV__) {
warn(
"componentWillUpdate has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -10727,7 +10727,7 @@ if (__DEV__) {
"\n\nThe old API will be supported in all 16.x releases, but applications " +
"using it should migrate to the new version." +
"\n\nPlease update the following components: %s" +
- "\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",
+ "\n\nLearn more about this warning here: https://react.dev/link/legacy-context",
sortedNames
);
} finally {
@@ -11082,7 +11082,7 @@ if (__DEV__) {
error(
"Each child in a list should have a unique " +
- '"key" prop. See https://reactjs.org/link/warning-keys for ' +
+ '"key" prop. See https://react.dev/link/warning-keys for ' +
"more information."
);
};
@@ -11125,7 +11125,7 @@ if (__DEV__) {
"1. You may be adding a ref to a function component\n" +
"2. You may be adding a ref to a component that was not created inside a component's render method\n" +
"3. You have multiple copies of React loaded\n" +
- "See https://reactjs.org/link/refs-must-have-owner for more information."
+ "See https://react.dev/link/refs-must-have-owner for more information."
);
}
@@ -11134,7 +11134,7 @@ if (__DEV__) {
"Function components cannot have string refs. " +
"We recommend using useRef() instead. " +
"Learn more about using refs safely here: " +
- "https://reactjs.org/link/strict-mode-string-ref"
+ "https://react.dev/link/strict-mode-string-ref"
);
}
@@ -11152,7 +11152,7 @@ if (__DEV__) {
"will be removed in a future major release. We recommend 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",
componentName,
stringRef
);
@@ -13246,7 +13246,7 @@ if (__DEV__) {
error(
"React has detected a change in the order of Hooks called by %s. " +
"This will lead to bugs and errors if not fixed. " +
- "For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n" +
+ "For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n" +
" Previous render Next render\n" +
" ------------------------------------------------------\n" +
"%s" +
@@ -13297,7 +13297,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."
);
}
@@ -16107,7 +16107,7 @@ if (__DEV__) {
"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. " +
"You can only call Hooks at the top level of your React function. " +
"For more information, see " +
- "https://reactjs.org/link/rules-of-hooks"
+ "https://react.dev/link/rules-of-hooks"
);
};
@@ -18178,7 +18178,7 @@ if (__DEV__) {
"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
"%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n" +
"The above lifecycles should be removed. Learn more about this warning here:\n" +
- "https://reactjs.org/link/unsafe-component-lifecycles",
+ "https://react.dev/link/unsafe-component-lifecycles",
_componentName,
newApiName,
foundWillMountName !== null ? "\n " + foundWillMountName : "",
@@ -18795,7 +18795,7 @@ if (__DEV__) {
if (boundary.tag === HostRoot) {
errorBoundaryMessage =
"Consider adding an error boundary to your tree to customize error handling behavior.\n" +
- "Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.";
+ "Visit https://react.dev/link/error-boundaries to learn more about error boundaries.";
} else {
var errorBoundaryName =
getComponentNameFromFiber(boundary) || "Anonymous";
@@ -26799,7 +26799,7 @@ if (__DEV__) {
" }\n" +
" fetchData();\n" +
"}, [someId]); // Or [] if effect doesn't need props or state\n\n" +
- "Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching";
+ "Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching";
} else {
addendum = " You returned: " + destroy;
}
@@ -34538,7 +34538,7 @@ if (__DEV__) {
error(
"Cannot update a component (`%s`) while rendering a " +
"different component (`%s`). To locate the bad setState() call inside `%s`, " +
- "follow the stack trace as described in https://reactjs.org/link/setstate-in-render",
+ "follow the stack trace as described in https://react.dev/link/setstate-in-render",
setStateComponentName,
renderingComponentName,
renderingComponentName
@@ -34647,7 +34647,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act",
+ " Learn more at https://react.dev/link/wrap-tests-with-act",
getComponentNameFromFiber(fiber)
);
} finally {
@@ -34679,7 +34679,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act"
+ " Learn more at https://react.dev/link/wrap-tests-with-act"
);
}
}
@@ -36046,7 +36046,7 @@ if (__DEV__) {
return root;
}
- var ReactVersion = "18.3.0-www-classic-c1990332";
+ var ReactVersion = "18.3.0-www-classic-cecf945d";
function createPortal$1(
children,
@@ -36138,7 +36138,7 @@ if (__DEV__) {
"%s was passed an instance of %s which is inside StrictMode. " +
"Instead, add a ref directly to the element you want to reference. " +
"Learn more about using refs safely here: " +
- "https://reactjs.org/link/strict-mode-find-node",
+ "https://react.dev/link/strict-mode-find-node",
methodName,
methodName,
componentName
@@ -36149,7 +36149,7 @@ if (__DEV__) {
"%s was passed an instance of %s which renders StrictMode children. " +
"Instead, add a ref directly to the element you want to reference. " +
"Learn more about using refs safely here: " +
- "https://reactjs.org/link/strict-mode-find-node",
+ "https://react.dev/link/strict-mode-find-node",
methodName,
methodName,
componentName
@@ -41089,7 +41089,7 @@ if (__DEV__) {
if (typeof value !== "object" || !("__html" in value)) {
throw new Error(
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. " +
- "Please visit https://reactjs.org/link/dangerously-set-inner-html " +
+ "Please visit https://react.dev/link/dangerously-set-inner-html " +
"for more information."
);
}
@@ -41463,7 +41463,7 @@ if (__DEV__) {
if (typeof value !== "object" || !("__html" in value)) {
throw new Error(
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. " +
- "Please visit https://reactjs.org/link/dangerously-set-inner-html " +
+ "Please visit https://react.dev/link/dangerously-set-inner-html " +
"for more information."
);
}
@@ -42108,7 +42108,7 @@ if (__DEV__) {
"This is likely caused by the value changing from undefined to " +
"a defined value, which should not happen. " +
"Decide between using a controlled or uncontrolled input " +
- "element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"
+ "element for the lifetime of the component. More info: https://react.dev/link/controlled-components"
);
didWarnUncontrolledToControlled = true;
@@ -42124,7 +42124,7 @@ if (__DEV__) {
"This is likely caused by the value changing from a defined to " +
"undefined, which should not happen. " +
"Decide between using a controlled or uncontrolled input " +
- "element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"
+ "element for the lifetime of the component. More info: https://react.dev/link/controlled-components"
);
didWarnControlledToUncontrolled = true;
@@ -48616,7 +48616,7 @@ if (__DEV__) {
"ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot " +
"instead. Until you switch to the new API, your app will behave as " +
"if it's running React 17. Learn " +
- "more: https://reactjs.org/link/switch-to-createroot"
+ "more: https://react.dev/link/switch-to-createroot"
);
}
@@ -48652,7 +48652,7 @@ if (__DEV__) {
"ReactDOM.render is no longer supported in React 18. Use createRoot " +
"instead. Until you switch to the new API, your app will behave as " +
"if it's running React 17. Learn " +
- "more: https://reactjs.org/link/switch-to-createroot"
+ "more: https://react.dev/link/switch-to-createroot"
);
}
@@ -48693,7 +48693,7 @@ if (__DEV__) {
"ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported " +
"in React 18. Consider using a portal instead. Until you switch to " +
"the createRoot API, your app will behave as if it's running React " +
- "17. Learn more: https://reactjs.org/link/switch-to-createroot"
+ "17. Learn more: https://react.dev/link/switch-to-createroot"
);
}
@@ -49292,7 +49292,7 @@ if (__DEV__) {
) {
error(
"React depends on Map and Set built-in types. Make sure that you load a " +
- "polyfill in older browsers. https://reactjs.org/link/react-polyfills"
+ "polyfill in older browsers. https://react.dev/link/react-polyfills"
);
}
}
@@ -49399,10 +49399,10 @@ if (__DEV__) {
console.info(
"%cDownload the React DevTools " +
"for a better development experience: " +
- "https://reactjs.org/link/react-devtools" +
+ "https://react.dev/link/react-devtools" +
(protocol === "file:"
? "\nYou might need to use a local HTTP server (instead of file://): " +
- "https://reactjs.org/link/react-devtools-faq"
+ "https://react.dev/link/react-devtools-faq"
: ""),
"font-weight:bold"
);
diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js
index 27e8d368fb..7dabdbfda3 100644
--- a/compiled/facebook-www/ReactDOM-dev.modern.js
+++ b/compiled/facebook-www/ReactDOM-dev.modern.js
@@ -182,7 +182,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
@@ -707,7 +707,7 @@ if (__DEV__) {
error(
"The installed version of React DevTools is too old and will not work " +
"with the current version of React. Please update React DevTools. " +
- "https://reactjs.org/link/react-devtools"
+ "https://react.dev/link/react-devtools"
);
} // DevTools exists, even though it doesn't support Fiber.
@@ -3903,7 +3903,7 @@ if (__DEV__) {
"(specify either the checked prop, or the defaultChecked prop, but not " +
"both). Decide between using a controlled or uncontrolled input " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
getCurrentFiberOwnerNameInDevOrNull() || "A component",
props.type
);
@@ -3922,7 +3922,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled input " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
getCurrentFiberOwnerNameInDevOrNull() || "A component",
props.type
);
@@ -4483,7 +4483,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled select " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components"
+ "https://react.dev/link/controlled-components"
);
didWarnValueDefaultValue = true;
@@ -4554,7 +4554,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled textarea " +
"and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
getCurrentFiberOwnerNameInDevOrNull() || "A component"
);
@@ -6694,14 +6694,14 @@ if (__DEV__) {
if (invalidProps.length === 1) {
error(
"Invalid aria prop %s on <%s> tag. " +
- "For details, see https://reactjs.org/link/invalid-aria-props",
+ "For details, see https://react.dev/link/invalid-aria-props",
unknownPropString,
type
);
} else if (invalidProps.length > 1) {
error(
"Invalid aria props %s on <%s> tag. " +
- "For details, see https://reactjs.org/link/invalid-aria-props",
+ "For details, see https://react.dev/link/invalid-aria-props",
unknownPropString,
type
);
@@ -7112,7 +7112,7 @@ if (__DEV__) {
error(
"Invalid value for prop %s on <%s> tag. Either remove it from the element, " +
"or pass a string or number value to keep it in the DOM. " +
- "For details, see https://reactjs.org/link/attribute-behavior ",
+ "For details, see https://react.dev/link/attribute-behavior ",
unknownPropString,
type
);
@@ -7120,7 +7120,7 @@ if (__DEV__) {
error(
"Invalid values for props %s on <%s> tag. Either remove them from the element, " +
"or pass a string or number value to keep them in the DOM. " +
- "For details, see https://reactjs.org/link/attribute-behavior ",
+ "For details, see https://react.dev/link/attribute-behavior ",
unknownPropString,
type
);
@@ -10519,7 +10519,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"\nPlease update the following components: %s",
sortedNames
@@ -10534,11 +10534,11 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillReceiveProps in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, " +
"refactor your code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"\nPlease update the following components: %s",
_sortedNames
);
@@ -10552,7 +10552,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillUpdate in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"\nPlease update the following components: %s",
_sortedNames2
@@ -10566,7 +10566,7 @@ if (__DEV__) {
warn(
"componentWillMount has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"* Rename componentWillMount to UNSAFE_componentWillMount to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -10584,11 +10584,11 @@ if (__DEV__) {
warn(
"componentWillReceiveProps has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, refactor your " +
"code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
"To rename all deprecated lifecycles to their new names, you can run " +
@@ -10605,7 +10605,7 @@ if (__DEV__) {
warn(
"componentWillUpdate has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -10678,7 +10678,7 @@ if (__DEV__) {
"\n\nThe old API will be supported in all 16.x releases, but applications " +
"using it should migrate to the new version." +
"\n\nPlease update the following components: %s" +
- "\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",
+ "\n\nLearn more about this warning here: https://react.dev/link/legacy-context",
sortedNames
);
} finally {
@@ -11033,7 +11033,7 @@ if (__DEV__) {
error(
"Each child in a list should have a unique " +
- '"key" prop. See https://reactjs.org/link/warning-keys for ' +
+ '"key" prop. See https://react.dev/link/warning-keys for ' +
"more information."
);
};
@@ -11076,7 +11076,7 @@ if (__DEV__) {
"1. You may be adding a ref to a function component\n" +
"2. You may be adding a ref to a component that was not created inside a component's render method\n" +
"3. You have multiple copies of React loaded\n" +
- "See https://reactjs.org/link/refs-must-have-owner for more information."
+ "See https://react.dev/link/refs-must-have-owner for more information."
);
}
@@ -11085,7 +11085,7 @@ if (__DEV__) {
"Function components cannot have string refs. " +
"We recommend using useRef() instead. " +
"Learn more about using refs safely here: " +
- "https://reactjs.org/link/strict-mode-string-ref"
+ "https://react.dev/link/strict-mode-string-ref"
);
}
@@ -11103,7 +11103,7 @@ if (__DEV__) {
"will be removed in a future major release. We recommend 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",
componentName,
stringRef
);
@@ -13197,7 +13197,7 @@ if (__DEV__) {
error(
"React has detected a change in the order of Hooks called by %s. " +
"This will lead to bugs and errors if not fixed. " +
- "For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n" +
+ "For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n" +
" Previous render Next render\n" +
" ------------------------------------------------------\n" +
"%s" +
@@ -13248,7 +13248,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."
);
}
@@ -16058,7 +16058,7 @@ if (__DEV__) {
"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. " +
"You can only call Hooks at the top level of your React function. " +
"For more information, see " +
- "https://reactjs.org/link/rules-of-hooks"
+ "https://react.dev/link/rules-of-hooks"
);
};
@@ -18111,7 +18111,7 @@ if (__DEV__) {
"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
"%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n" +
"The above lifecycles should be removed. Learn more about this warning here:\n" +
- "https://reactjs.org/link/unsafe-component-lifecycles",
+ "https://react.dev/link/unsafe-component-lifecycles",
_componentName,
newApiName,
foundWillMountName !== null ? "\n " + foundWillMountName : "",
@@ -18705,7 +18705,7 @@ if (__DEV__) {
if (boundary.tag === HostRoot) {
errorBoundaryMessage =
"Consider adding an error boundary to your tree to customize error handling behavior.\n" +
- "Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.";
+ "Visit https://react.dev/link/error-boundaries to learn more about error boundaries.";
} else {
var errorBoundaryName =
getComponentNameFromFiber(boundary) || "Anonymous";
@@ -26644,7 +26644,7 @@ if (__DEV__) {
" }\n" +
" fetchData();\n" +
"}, [someId]); // Or [] if effect doesn't need props or state\n\n" +
- "Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching";
+ "Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching";
} else {
addendum = " You returned: " + destroy;
}
@@ -34374,7 +34374,7 @@ if (__DEV__) {
error(
"Cannot update a component (`%s`) while rendering a " +
"different component (`%s`). To locate the bad setState() call inside `%s`, " +
- "follow the stack trace as described in https://reactjs.org/link/setstate-in-render",
+ "follow the stack trace as described in https://react.dev/link/setstate-in-render",
setStateComponentName,
renderingComponentName,
renderingComponentName
@@ -34483,7 +34483,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act",
+ " Learn more at https://react.dev/link/wrap-tests-with-act",
getComponentNameFromFiber(fiber)
);
} finally {
@@ -34515,7 +34515,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act"
+ " Learn more at https://react.dev/link/wrap-tests-with-act"
);
}
}
@@ -35882,7 +35882,7 @@ if (__DEV__) {
return root;
}
- var ReactVersion = "18.3.0-www-modern-870a3fc8";
+ var ReactVersion = "18.3.0-www-modern-77e7bd4e";
function createPortal$1(
children,
@@ -41734,7 +41734,7 @@ if (__DEV__) {
if (typeof value !== "object" || !("__html" in value)) {
throw new Error(
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. " +
- "Please visit https://reactjs.org/link/dangerously-set-inner-html " +
+ "Please visit https://react.dev/link/dangerously-set-inner-html " +
"for more information."
);
}
@@ -42108,7 +42108,7 @@ if (__DEV__) {
if (typeof value !== "object" || !("__html" in value)) {
throw new Error(
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. " +
- "Please visit https://reactjs.org/link/dangerously-set-inner-html " +
+ "Please visit https://react.dev/link/dangerously-set-inner-html " +
"for more information."
);
}
@@ -42750,7 +42750,7 @@ if (__DEV__) {
"This is likely caused by the value changing from undefined to " +
"a defined value, which should not happen. " +
"Decide between using a controlled or uncontrolled input " +
- "element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"
+ "element for the lifetime of the component. More info: https://react.dev/link/controlled-components"
);
didWarnUncontrolledToControlled = true;
@@ -42766,7 +42766,7 @@ if (__DEV__) {
"This is likely caused by the value changing from a defined to " +
"undefined, which should not happen. " +
"Decide between using a controlled or uncontrolled input " +
- "element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"
+ "element for the lifetime of the component. More info: https://react.dev/link/controlled-components"
);
didWarnControlledToUncontrolled = true;
@@ -48354,7 +48354,7 @@ if (__DEV__) {
) {
error(
"React depends on Map and Set built-in types. Make sure that you load a " +
- "polyfill in older browsers. https://reactjs.org/link/react-polyfills"
+ "polyfill in older browsers. https://react.dev/link/react-polyfills"
);
}
}
@@ -48447,10 +48447,10 @@ if (__DEV__) {
console.info(
"%cDownload the React DevTools " +
"for a better development experience: " +
- "https://reactjs.org/link/react-devtools" +
+ "https://react.dev/link/react-devtools" +
(protocol === "file:"
? "\nYou might need to use a local HTTP server (instead of file://): " +
- "https://reactjs.org/link/react-devtools-faq"
+ "https://react.dev/link/react-devtools-faq"
: ""),
"font-weight:bold"
);
diff --git a/compiled/facebook-www/ReactDOM-profiling.modern.js b/compiled/facebook-www/ReactDOM-profiling.modern.js
index dfe012c8f3..dfcb558872 100644
--- a/compiled/facebook-www/ReactDOM-profiling.modern.js
+++ b/compiled/facebook-www/ReactDOM-profiling.modern.js
@@ -17508,7 +17508,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1863 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
- version: "18.3.0-www-modern-62d2932f",
+ version: "18.3.0-www-modern-b085b614",
rendererPackageName: "react-dom"
};
(function (internals) {
@@ -17553,7 +17553,7 @@ var devToolsConfig$jscomp$inline_1863 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
- reconcilerVersion: "18.3.0-www-modern-62d2932f"
+ reconcilerVersion: "18.3.0-www-modern-b085b614"
});
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
exports.createPortal = function (children, container) {
@@ -17811,7 +17811,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactCurrentDispatcher$2.current.useHostTransitionStatus();
};
-exports.version = "18.3.0-www-modern-62d2932f";
+exports.version = "18.3.0-www-modern-b085b614";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
diff --git a/compiled/facebook-www/ReactDOMServer-dev.classic.js b/compiled/facebook-www/ReactDOMServer-dev.classic.js
index e683d9a1fa..6ef1b7f4e1 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-5ea8bd06";
+ var ReactVersion = "18.3.0-www-classic-24ac93b7";
// This refers to a WWW module.
var warningWWW = require("warning");
@@ -1099,14 +1099,14 @@ if (__DEV__) {
if (invalidProps.length === 1) {
error(
"Invalid aria prop %s on <%s> tag. " +
- "For details, see https://reactjs.org/link/invalid-aria-props",
+ "For details, see https://react.dev/link/invalid-aria-props",
unknownPropString,
type
);
} else if (invalidProps.length > 1) {
error(
"Invalid aria props %s on <%s> tag. " +
- "For details, see https://reactjs.org/link/invalid-aria-props",
+ "For details, see https://react.dev/link/invalid-aria-props",
unknownPropString,
type
);
@@ -2038,7 +2038,7 @@ if (__DEV__) {
error(
"Invalid value for prop %s on <%s> tag. Either remove it from the element, " +
"or pass a string or number value to keep it in the DOM. " +
- "For details, see https://reactjs.org/link/attribute-behavior ",
+ "For details, see https://react.dev/link/attribute-behavior ",
unknownPropString,
type
);
@@ -2046,7 +2046,7 @@ if (__DEV__) {
error(
"Invalid values for props %s on <%s> tag. Either remove them from the element, " +
"or pass a string or number value to keep them in the DOM. " +
- "For details, see https://reactjs.org/link/attribute-behavior ",
+ "For details, see https://react.dev/link/attribute-behavior ",
unknownPropString,
type
);
@@ -3609,7 +3609,7 @@ if (__DEV__) {
if (typeof innerHTML !== "object" || !("__html" in innerHTML)) {
throw new Error(
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. " +
- "Please visit https://reactjs.org/link/dangerously-set-inner-html " +
+ "Please visit https://react.dev/link/dangerously-set-inner-html " +
"for more information."
);
}
@@ -3732,7 +3732,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled select " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components"
+ "https://react.dev/link/controlled-components"
);
didWarnDefaultSelectValue = true;
@@ -4215,7 +4215,7 @@ if (__DEV__) {
"(specify either the checked prop, or the defaultChecked prop, but not " +
"both). Decide between using a controlled or uncontrolled input " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
"A component",
props.type
);
@@ -4234,7 +4234,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled input " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
"A component",
props.type
);
@@ -4369,7 +4369,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled textarea " +
"and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components"
+ "https://react.dev/link/controlled-components"
);
didWarnDefaultTextareaValue = true;
@@ -5641,7 +5641,7 @@ if (__DEV__) {
if (typeof innerHTML !== "object" || !("__html" in innerHTML)) {
throw new Error(
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. " +
- "Please visit https://reactjs.org/link/dangerously-set-inner-html " +
+ "Please visit https://react.dev/link/dangerously-set-inner-html " +
"for more information."
);
}
@@ -9232,7 +9232,7 @@ if (__DEV__) {
"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
"%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n" +
"The above lifecycles should be removed. Learn more about this warning here:\n" +
- "https://reactjs.org/link/unsafe-component-lifecycles",
+ "https://react.dev/link/unsafe-component-lifecycles",
_componentName,
newApiName,
foundWillMountName !== null ? "\n " + foundWillMountName : "",
@@ -9484,7 +9484,7 @@ if (__DEV__) {
warn(
// keep this warning in sync with ReactStrictModeWarning.js
"componentWillMount has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code from componentWillMount to componentDidMount (preferred in most cases) " +
"or the constructor.\n" +
"\nPlease update the following components: %s",
@@ -9954,7 +9954,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."
);
}
@@ -9964,7 +9964,7 @@ if (__DEV__) {
"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. " +
"You can only call Hooks at the top level of your React function. " +
"For more information, see " +
- "https://reactjs.org/link/rules-of-hooks"
+ "https://react.dev/link/rules-of-hooks"
);
}
}
diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js
index 3ccb2e8a1f..d3dff9819c 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-9062d3d5";
+ var ReactVersion = "18.3.0-www-modern-326ac7bd";
// This refers to a WWW module.
var warningWWW = require("warning");
@@ -1099,14 +1099,14 @@ if (__DEV__) {
if (invalidProps.length === 1) {
error(
"Invalid aria prop %s on <%s> tag. " +
- "For details, see https://reactjs.org/link/invalid-aria-props",
+ "For details, see https://react.dev/link/invalid-aria-props",
unknownPropString,
type
);
} else if (invalidProps.length > 1) {
error(
"Invalid aria props %s on <%s> tag. " +
- "For details, see https://reactjs.org/link/invalid-aria-props",
+ "For details, see https://react.dev/link/invalid-aria-props",
unknownPropString,
type
);
@@ -2038,7 +2038,7 @@ if (__DEV__) {
error(
"Invalid value for prop %s on <%s> tag. Either remove it from the element, " +
"or pass a string or number value to keep it in the DOM. " +
- "For details, see https://reactjs.org/link/attribute-behavior ",
+ "For details, see https://react.dev/link/attribute-behavior ",
unknownPropString,
type
);
@@ -2046,7 +2046,7 @@ if (__DEV__) {
error(
"Invalid values for props %s on <%s> tag. Either remove them from the element, " +
"or pass a string or number value to keep them in the DOM. " +
- "For details, see https://reactjs.org/link/attribute-behavior ",
+ "For details, see https://react.dev/link/attribute-behavior ",
unknownPropString,
type
);
@@ -3609,7 +3609,7 @@ if (__DEV__) {
if (typeof innerHTML !== "object" || !("__html" in innerHTML)) {
throw new Error(
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. " +
- "Please visit https://reactjs.org/link/dangerously-set-inner-html " +
+ "Please visit https://react.dev/link/dangerously-set-inner-html " +
"for more information."
);
}
@@ -3732,7 +3732,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled select " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components"
+ "https://react.dev/link/controlled-components"
);
didWarnDefaultSelectValue = true;
@@ -4215,7 +4215,7 @@ if (__DEV__) {
"(specify either the checked prop, or the defaultChecked prop, but not " +
"both). Decide between using a controlled or uncontrolled input " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
"A component",
props.type
);
@@ -4234,7 +4234,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled input " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
"A component",
props.type
);
@@ -4369,7 +4369,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled textarea " +
"and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components"
+ "https://react.dev/link/controlled-components"
);
didWarnDefaultTextareaValue = true;
@@ -5641,7 +5641,7 @@ if (__DEV__) {
if (typeof innerHTML !== "object" || !("__html" in innerHTML)) {
throw new Error(
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. " +
- "Please visit https://reactjs.org/link/dangerously-set-inner-html " +
+ "Please visit https://react.dev/link/dangerously-set-inner-html " +
"for more information."
);
}
@@ -9159,7 +9159,7 @@ if (__DEV__) {
"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
"%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n" +
"The above lifecycles should be removed. Learn more about this warning here:\n" +
- "https://reactjs.org/link/unsafe-component-lifecycles",
+ "https://react.dev/link/unsafe-component-lifecycles",
_componentName,
newApiName,
foundWillMountName !== null ? "\n " + foundWillMountName : "",
@@ -9405,7 +9405,7 @@ if (__DEV__) {
warn(
// keep this warning in sync with ReactStrictModeWarning.js
"componentWillMount has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code from componentWillMount to componentDidMount (preferred in most cases) " +
"or the constructor.\n" +
"\nPlease update the following components: %s",
@@ -9875,7 +9875,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."
);
}
@@ -9885,7 +9885,7 @@ if (__DEV__) {
"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. " +
"You can only call Hooks at the top level of your React function. " +
"For more information, see " +
- "https://reactjs.org/link/rules-of-hooks"
+ "https://react.dev/link/rules-of-hooks"
);
}
}
diff --git a/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js b/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js
index b78d2d5fa0..fd961eb82f 100644
--- a/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js
+++ b/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js
@@ -1096,14 +1096,14 @@ if (__DEV__) {
if (invalidProps.length === 1) {
error(
"Invalid aria prop %s on <%s> tag. " +
- "For details, see https://reactjs.org/link/invalid-aria-props",
+ "For details, see https://react.dev/link/invalid-aria-props",
unknownPropString,
type
);
} else if (invalidProps.length > 1) {
error(
"Invalid aria props %s on <%s> tag. " +
- "For details, see https://reactjs.org/link/invalid-aria-props",
+ "For details, see https://react.dev/link/invalid-aria-props",
unknownPropString,
type
);
@@ -2035,7 +2035,7 @@ if (__DEV__) {
error(
"Invalid value for prop %s on <%s> tag. Either remove it from the element, " +
"or pass a string or number value to keep it in the DOM. " +
- "For details, see https://reactjs.org/link/attribute-behavior ",
+ "For details, see https://react.dev/link/attribute-behavior ",
unknownPropString,
type
);
@@ -2043,7 +2043,7 @@ if (__DEV__) {
error(
"Invalid values for props %s on <%s> tag. Either remove them from the element, " +
"or pass a string or number value to keep them in the DOM. " +
- "For details, see https://reactjs.org/link/attribute-behavior ",
+ "For details, see https://react.dev/link/attribute-behavior ",
unknownPropString,
type
);
@@ -3606,7 +3606,7 @@ if (__DEV__) {
if (typeof innerHTML !== "object" || !("__html" in innerHTML)) {
throw new Error(
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. " +
- "Please visit https://reactjs.org/link/dangerously-set-inner-html " +
+ "Please visit https://react.dev/link/dangerously-set-inner-html " +
"for more information."
);
}
@@ -3729,7 +3729,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled select " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components"
+ "https://react.dev/link/controlled-components"
);
didWarnDefaultSelectValue = true;
@@ -4212,7 +4212,7 @@ if (__DEV__) {
"(specify either the checked prop, or the defaultChecked prop, but not " +
"both). Decide between using a controlled or uncontrolled input " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
"A component",
props.type
);
@@ -4231,7 +4231,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled input " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
"A component",
props.type
);
@@ -4366,7 +4366,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled textarea " +
"and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components"
+ "https://react.dev/link/controlled-components"
);
didWarnDefaultTextareaValue = true;
@@ -5638,7 +5638,7 @@ if (__DEV__) {
if (typeof innerHTML !== "object" || !("__html" in innerHTML)) {
throw new Error(
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. " +
- "Please visit https://reactjs.org/link/dangerously-set-inner-html " +
+ "Please visit https://react.dev/link/dangerously-set-inner-html " +
"for more information."
);
}
@@ -9043,7 +9043,7 @@ if (__DEV__) {
"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
"%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n" +
"The above lifecycles should be removed. Learn more about this warning here:\n" +
- "https://reactjs.org/link/unsafe-component-lifecycles",
+ "https://react.dev/link/unsafe-component-lifecycles",
_componentName,
newApiName,
foundWillMountName !== null ? "\n " + foundWillMountName : "",
@@ -9289,7 +9289,7 @@ if (__DEV__) {
warn(
// keep this warning in sync with ReactStrictModeWarning.js
"componentWillMount has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code from componentWillMount to componentDidMount (preferred in most cases) " +
"or the constructor.\n" +
"\nPlease update the following components: %s",
@@ -9759,7 +9759,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."
);
}
@@ -9769,7 +9769,7 @@ if (__DEV__) {
"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. " +
"You can only call Hooks at the top level of your React function. " +
"For more information, see " +
- "https://reactjs.org/link/rules-of-hooks"
+ "https://react.dev/link/rules-of-hooks"
);
}
}
diff --git a/compiled/facebook-www/ReactDOMServerStreaming-prod.modern.js b/compiled/facebook-www/ReactDOMServerStreaming-prod.modern.js
index 105575b87a..1f994a5129 100644
--- a/compiled/facebook-www/ReactDOMServerStreaming-prod.modern.js
+++ b/compiled/facebook-www/ReactDOMServerStreaming-prod.modern.js
@@ -625,7 +625,7 @@ function pushInnerHTML(target, innerHTML, children) {
);
if ("object" !== typeof innerHTML || !("__html" in innerHTML))
throw Error(
- "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information."
+ "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information."
);
innerHTML = innerHTML.__html;
null !== innerHTML && void 0 !== innerHTML && target.push("" + innerHTML);
@@ -1517,7 +1517,7 @@ function pushStartInstance(
!("__html" in innerHTML$jscomp$6)
)
throw Error(
- "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information."
+ "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information."
);
var html = innerHTML$jscomp$6.__html;
null !== html &&
@@ -2856,7 +2856,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is,
function resolveCurrentlyRenderingComponent() {
if (null === currentlyRenderingComponent)
throw Error(
- "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."
+ "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
);
return currentlyRenderingComponent;
}
diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js
index 162e097428..5449cba7ad 100644
--- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js
+++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js
@@ -1033,7 +1033,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
@@ -1378,7 +1378,7 @@ if (__DEV__) {
error(
"The installed version of React DevTools is too old and will not work " +
"with the current version of React. Please update React DevTools. " +
- "https://reactjs.org/link/react-devtools"
+ "https://react.dev/link/react-devtools"
);
} // DevTools exists, even though it doesn't support Fiber.
@@ -4197,7 +4197,7 @@ if (__DEV__) {
"(specify either the checked prop, or the defaultChecked prop, but not " +
"both). Decide between using a controlled or uncontrolled input " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
getCurrentFiberOwnerNameInDevOrNull() || "A component",
props.type
);
@@ -4216,7 +4216,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled input " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
getCurrentFiberOwnerNameInDevOrNull() || "A component",
props.type
);
@@ -4777,7 +4777,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled select " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components"
+ "https://react.dev/link/controlled-components"
);
didWarnValueDefaultValue = true;
@@ -4848,7 +4848,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled textarea " +
"and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
getCurrentFiberOwnerNameInDevOrNull() || "A component"
);
@@ -7008,14 +7008,14 @@ if (__DEV__) {
if (invalidProps.length === 1) {
error(
"Invalid aria prop %s on <%s> tag. " +
- "For details, see https://reactjs.org/link/invalid-aria-props",
+ "For details, see https://react.dev/link/invalid-aria-props",
unknownPropString,
type
);
} else if (invalidProps.length > 1) {
error(
"Invalid aria props %s on <%s> tag. " +
- "For details, see https://reactjs.org/link/invalid-aria-props",
+ "For details, see https://react.dev/link/invalid-aria-props",
unknownPropString,
type
);
@@ -7426,7 +7426,7 @@ if (__DEV__) {
error(
"Invalid value for prop %s on <%s> tag. Either remove it from the element, " +
"or pass a string or number value to keep it in the DOM. " +
- "For details, see https://reactjs.org/link/attribute-behavior ",
+ "For details, see https://react.dev/link/attribute-behavior ",
unknownPropString,
type
);
@@ -7434,7 +7434,7 @@ if (__DEV__) {
error(
"Invalid values for props %s on <%s> tag. Either remove them from the element, " +
"or pass a string or number value to keep them in the DOM. " +
- "For details, see https://reactjs.org/link/attribute-behavior ",
+ "For details, see https://react.dev/link/attribute-behavior ",
unknownPropString,
type
);
@@ -10705,7 +10705,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"\nPlease update the following components: %s",
sortedNames
@@ -10720,11 +10720,11 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillReceiveProps in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, " +
"refactor your code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"\nPlease update the following components: %s",
_sortedNames
);
@@ -10738,7 +10738,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillUpdate in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"\nPlease update the following components: %s",
_sortedNames2
@@ -10752,7 +10752,7 @@ if (__DEV__) {
warn(
"componentWillMount has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"* Rename componentWillMount to UNSAFE_componentWillMount to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -10770,11 +10770,11 @@ if (__DEV__) {
warn(
"componentWillReceiveProps has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, refactor your " +
"code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
"To rename all deprecated lifecycles to their new names, you can run " +
@@ -10791,7 +10791,7 @@ if (__DEV__) {
warn(
"componentWillUpdate has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -10864,7 +10864,7 @@ if (__DEV__) {
"\n\nThe old API will be supported in all 16.x releases, but applications " +
"using it should migrate to the new version." +
"\n\nPlease update the following components: %s" +
- "\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",
+ "\n\nLearn more about this warning here: https://react.dev/link/legacy-context",
sortedNames
);
} finally {
@@ -11219,7 +11219,7 @@ if (__DEV__) {
error(
"Each child in a list should have a unique " +
- '"key" prop. See https://reactjs.org/link/warning-keys for ' +
+ '"key" prop. See https://react.dev/link/warning-keys for ' +
"more information."
);
};
@@ -11262,7 +11262,7 @@ if (__DEV__) {
"1. You may be adding a ref to a function component\n" +
"2. You may be adding a ref to a component that was not created inside a component's render method\n" +
"3. You have multiple copies of React loaded\n" +
- "See https://reactjs.org/link/refs-must-have-owner for more information."
+ "See https://react.dev/link/refs-must-have-owner for more information."
);
}
@@ -11271,7 +11271,7 @@ if (__DEV__) {
"Function components cannot have string refs. " +
"We recommend using useRef() instead. " +
"Learn more about using refs safely here: " +
- "https://reactjs.org/link/strict-mode-string-ref"
+ "https://react.dev/link/strict-mode-string-ref"
);
}
@@ -11289,7 +11289,7 @@ if (__DEV__) {
"will be removed in a future major release. We recommend 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",
componentName,
stringRef
);
@@ -13383,7 +13383,7 @@ if (__DEV__) {
error(
"React has detected a change in the order of Hooks called by %s. " +
"This will lead to bugs and errors if not fixed. " +
- "For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n" +
+ "For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n" +
" Previous render Next render\n" +
" ------------------------------------------------------\n" +
"%s" +
@@ -13434,7 +13434,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."
);
}
@@ -16244,7 +16244,7 @@ if (__DEV__) {
"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. " +
"You can only call Hooks at the top level of your React function. " +
"For more information, see " +
- "https://reactjs.org/link/rules-of-hooks"
+ "https://react.dev/link/rules-of-hooks"
);
};
@@ -18315,7 +18315,7 @@ if (__DEV__) {
"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
"%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n" +
"The above lifecycles should be removed. Learn more about this warning here:\n" +
- "https://reactjs.org/link/unsafe-component-lifecycles",
+ "https://react.dev/link/unsafe-component-lifecycles",
_componentName,
newApiName,
foundWillMountName !== null ? "\n " + foundWillMountName : "",
@@ -18932,7 +18932,7 @@ if (__DEV__) {
if (boundary.tag === HostRoot) {
errorBoundaryMessage =
"Consider adding an error boundary to your tree to customize error handling behavior.\n" +
- "Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.";
+ "Visit https://react.dev/link/error-boundaries to learn more about error boundaries.";
} else {
var errorBoundaryName =
getComponentNameFromFiber(boundary) || "Anonymous";
@@ -26936,7 +26936,7 @@ if (__DEV__) {
" }\n" +
" fetchData();\n" +
"}, [someId]); // Or [] if effect doesn't need props or state\n\n" +
- "Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching";
+ "Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching";
} else {
addendum = " You returned: " + destroy;
}
@@ -35162,7 +35162,7 @@ if (__DEV__) {
error(
"Cannot update a component (`%s`) while rendering a " +
"different component (`%s`). To locate the bad setState() call inside `%s`, " +
- "follow the stack trace as described in https://reactjs.org/link/setstate-in-render",
+ "follow the stack trace as described in https://react.dev/link/setstate-in-render",
setStateComponentName,
renderingComponentName,
renderingComponentName
@@ -35271,7 +35271,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act",
+ " Learn more at https://react.dev/link/wrap-tests-with-act",
getComponentNameFromFiber(fiber)
);
} finally {
@@ -35303,7 +35303,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act"
+ " Learn more at https://react.dev/link/wrap-tests-with-act"
);
}
}
@@ -36670,7 +36670,7 @@ if (__DEV__) {
return root;
}
- var ReactVersion = "18.3.0-www-classic-d9a6038e";
+ var ReactVersion = "18.3.0-www-classic-61b84c37";
function createPortal$1(
children,
@@ -36762,7 +36762,7 @@ if (__DEV__) {
"%s was passed an instance of %s which is inside StrictMode. " +
"Instead, add a ref directly to the element you want to reference. " +
"Learn more about using refs safely here: " +
- "https://reactjs.org/link/strict-mode-find-node",
+ "https://react.dev/link/strict-mode-find-node",
methodName,
methodName,
componentName
@@ -36773,7 +36773,7 @@ if (__DEV__) {
"%s was passed an instance of %s which renders StrictMode children. " +
"Instead, add a ref directly to the element you want to reference. " +
"Learn more about using refs safely here: " +
- "https://reactjs.org/link/strict-mode-find-node",
+ "https://react.dev/link/strict-mode-find-node",
methodName,
methodName,
componentName
@@ -41713,7 +41713,7 @@ if (__DEV__) {
if (typeof value !== "object" || !("__html" in value)) {
throw new Error(
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. " +
- "Please visit https://reactjs.org/link/dangerously-set-inner-html " +
+ "Please visit https://react.dev/link/dangerously-set-inner-html " +
"for more information."
);
}
@@ -42087,7 +42087,7 @@ if (__DEV__) {
if (typeof value !== "object" || !("__html" in value)) {
throw new Error(
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. " +
- "Please visit https://reactjs.org/link/dangerously-set-inner-html " +
+ "Please visit https://react.dev/link/dangerously-set-inner-html " +
"for more information."
);
}
@@ -42732,7 +42732,7 @@ if (__DEV__) {
"This is likely caused by the value changing from undefined to " +
"a defined value, which should not happen. " +
"Decide between using a controlled or uncontrolled input " +
- "element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"
+ "element for the lifetime of the component. More info: https://react.dev/link/controlled-components"
);
didWarnUncontrolledToControlled = true;
@@ -42748,7 +42748,7 @@ if (__DEV__) {
"This is likely caused by the value changing from a defined to " +
"undefined, which should not happen. " +
"Decide between using a controlled or uncontrolled input " +
- "element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"
+ "element for the lifetime of the component. More info: https://react.dev/link/controlled-components"
);
didWarnControlledToUncontrolled = true;
@@ -49372,7 +49372,7 @@ if (__DEV__) {
"ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot " +
"instead. Until you switch to the new API, your app will behave as " +
"if it's running React 17. Learn " +
- "more: https://reactjs.org/link/switch-to-createroot"
+ "more: https://react.dev/link/switch-to-createroot"
);
}
@@ -49408,7 +49408,7 @@ if (__DEV__) {
"ReactDOM.render is no longer supported in React 18. Use createRoot " +
"instead. Until you switch to the new API, your app will behave as " +
"if it's running React 17. Learn " +
- "more: https://reactjs.org/link/switch-to-createroot"
+ "more: https://react.dev/link/switch-to-createroot"
);
}
@@ -49449,7 +49449,7 @@ if (__DEV__) {
"ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported " +
"in React 18. Consider using a portal instead. Until you switch to " +
"the createRoot API, your app will behave as if it's running React " +
- "17. Learn more: https://reactjs.org/link/switch-to-createroot"
+ "17. Learn more: https://react.dev/link/switch-to-createroot"
);
}
@@ -50050,7 +50050,7 @@ if (__DEV__) {
) {
error(
"React depends on Map and Set built-in types. Make sure that you load a " +
- "polyfill in older browsers. https://reactjs.org/link/react-polyfills"
+ "polyfill in older browsers. https://react.dev/link/react-polyfills"
);
}
}
@@ -50157,10 +50157,10 @@ if (__DEV__) {
console.info(
"%cDownload the React DevTools " +
"for a better development experience: " +
- "https://reactjs.org/link/react-devtools" +
+ "https://react.dev/link/react-devtools" +
(protocol === "file:"
? "\nYou might need to use a local HTTP server (instead of file://): " +
- "https://reactjs.org/link/react-devtools-faq"
+ "https://react.dev/link/react-devtools-faq"
: ""),
"font-weight:bold"
);
diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js
index d0d282a169..07d59de496 100644
--- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js
+++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js
@@ -174,7 +174,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
@@ -699,7 +699,7 @@ if (__DEV__) {
error(
"The installed version of React DevTools is too old and will not work " +
"with the current version of React. Please update React DevTools. " +
- "https://reactjs.org/link/react-devtools"
+ "https://react.dev/link/react-devtools"
);
} // DevTools exists, even though it doesn't support Fiber.
@@ -4040,7 +4040,7 @@ if (__DEV__) {
"(specify either the checked prop, or the defaultChecked prop, but not " +
"both). Decide between using a controlled or uncontrolled input " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
getCurrentFiberOwnerNameInDevOrNull() || "A component",
props.type
);
@@ -4059,7 +4059,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled input " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
getCurrentFiberOwnerNameInDevOrNull() || "A component",
props.type
);
@@ -4620,7 +4620,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled select " +
"element and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components"
+ "https://react.dev/link/controlled-components"
);
didWarnValueDefaultValue = true;
@@ -4691,7 +4691,7 @@ if (__DEV__) {
"(specify either the value prop, or the defaultValue prop, but not " +
"both). Decide between using a controlled or uncontrolled textarea " +
"and remove one of these props. More info: " +
- "https://reactjs.org/link/controlled-components",
+ "https://react.dev/link/controlled-components",
getCurrentFiberOwnerNameInDevOrNull() || "A component"
);
@@ -6831,14 +6831,14 @@ if (__DEV__) {
if (invalidProps.length === 1) {
error(
"Invalid aria prop %s on <%s> tag. " +
- "For details, see https://reactjs.org/link/invalid-aria-props",
+ "For details, see https://react.dev/link/invalid-aria-props",
unknownPropString,
type
);
} else if (invalidProps.length > 1) {
error(
"Invalid aria props %s on <%s> tag. " +
- "For details, see https://reactjs.org/link/invalid-aria-props",
+ "For details, see https://react.dev/link/invalid-aria-props",
unknownPropString,
type
);
@@ -7249,7 +7249,7 @@ if (__DEV__) {
error(
"Invalid value for prop %s on <%s> tag. Either remove it from the element, " +
"or pass a string or number value to keep it in the DOM. " +
- "For details, see https://reactjs.org/link/attribute-behavior ",
+ "For details, see https://react.dev/link/attribute-behavior ",
unknownPropString,
type
);
@@ -7257,7 +7257,7 @@ if (__DEV__) {
error(
"Invalid values for props %s on <%s> tag. Either remove them from the element, " +
"or pass a string or number value to keep them in the DOM. " +
- "For details, see https://reactjs.org/link/attribute-behavior ",
+ "For details, see https://react.dev/link/attribute-behavior ",
unknownPropString,
type
);
@@ -10656,7 +10656,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"\nPlease update the following components: %s",
sortedNames
@@ -10671,11 +10671,11 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillReceiveProps in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, " +
"refactor your code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"\nPlease update the following components: %s",
_sortedNames
);
@@ -10689,7 +10689,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillUpdate in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"\nPlease update the following components: %s",
_sortedNames2
@@ -10703,7 +10703,7 @@ if (__DEV__) {
warn(
"componentWillMount has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"* Rename componentWillMount to UNSAFE_componentWillMount to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -10721,11 +10721,11 @@ if (__DEV__) {
warn(
"componentWillReceiveProps has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, refactor your " +
"code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
"To rename all deprecated lifecycles to their new names, you can run " +
@@ -10742,7 +10742,7 @@ if (__DEV__) {
warn(
"componentWillUpdate has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -10815,7 +10815,7 @@ if (__DEV__) {
"\n\nThe old API will be supported in all 16.x releases, but applications " +
"using it should migrate to the new version." +
"\n\nPlease update the following components: %s" +
- "\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",
+ "\n\nLearn more about this warning here: https://react.dev/link/legacy-context",
sortedNames
);
} finally {
@@ -11170,7 +11170,7 @@ if (__DEV__) {
error(
"Each child in a list should have a unique " +
- '"key" prop. See https://reactjs.org/link/warning-keys for ' +
+ '"key" prop. See https://react.dev/link/warning-keys for ' +
"more information."
);
};
@@ -11213,7 +11213,7 @@ if (__DEV__) {
"1. You may be adding a ref to a function component\n" +
"2. You may be adding a ref to a component that was not created inside a component's render method\n" +
"3. You have multiple copies of React loaded\n" +
- "See https://reactjs.org/link/refs-must-have-owner for more information."
+ "See https://react.dev/link/refs-must-have-owner for more information."
);
}
@@ -11222,7 +11222,7 @@ if (__DEV__) {
"Function components cannot have string refs. " +
"We recommend using useRef() instead. " +
"Learn more about using refs safely here: " +
- "https://reactjs.org/link/strict-mode-string-ref"
+ "https://react.dev/link/strict-mode-string-ref"
);
}
@@ -11240,7 +11240,7 @@ if (__DEV__) {
"will be removed in a future major release. We recommend 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",
componentName,
stringRef
);
@@ -13334,7 +13334,7 @@ if (__DEV__) {
error(
"React has detected a change in the order of Hooks called by %s. " +
"This will lead to bugs and errors if not fixed. " +
- "For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n" +
+ "For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n" +
" Previous render Next render\n" +
" ------------------------------------------------------\n" +
"%s" +
@@ -13385,7 +13385,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."
);
}
@@ -16195,7 +16195,7 @@ if (__DEV__) {
"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. " +
"You can only call Hooks at the top level of your React function. " +
"For more information, see " +
- "https://reactjs.org/link/rules-of-hooks"
+ "https://react.dev/link/rules-of-hooks"
);
};
@@ -18248,7 +18248,7 @@ if (__DEV__) {
"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
"%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n" +
"The above lifecycles should be removed. Learn more about this warning here:\n" +
- "https://reactjs.org/link/unsafe-component-lifecycles",
+ "https://react.dev/link/unsafe-component-lifecycles",
_componentName,
newApiName,
foundWillMountName !== null ? "\n " + foundWillMountName : "",
@@ -18842,7 +18842,7 @@ if (__DEV__) {
if (boundary.tag === HostRoot) {
errorBoundaryMessage =
"Consider adding an error boundary to your tree to customize error handling behavior.\n" +
- "Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.";
+ "Visit https://react.dev/link/error-boundaries to learn more about error boundaries.";
} else {
var errorBoundaryName =
getComponentNameFromFiber(boundary) || "Anonymous";
@@ -26781,7 +26781,7 @@ if (__DEV__) {
" }\n" +
" fetchData();\n" +
"}, [someId]); // Or [] if effect doesn't need props or state\n\n" +
- "Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching";
+ "Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching";
} else {
addendum = " You returned: " + destroy;
}
@@ -34998,7 +34998,7 @@ if (__DEV__) {
error(
"Cannot update a component (`%s`) while rendering a " +
"different component (`%s`). To locate the bad setState() call inside `%s`, " +
- "follow the stack trace as described in https://reactjs.org/link/setstate-in-render",
+ "follow the stack trace as described in https://react.dev/link/setstate-in-render",
setStateComponentName,
renderingComponentName,
renderingComponentName
@@ -35107,7 +35107,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act",
+ " Learn more at https://react.dev/link/wrap-tests-with-act",
getComponentNameFromFiber(fiber)
);
} finally {
@@ -35139,7 +35139,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act"
+ " Learn more at https://react.dev/link/wrap-tests-with-act"
);
}
}
@@ -36506,7 +36506,7 @@ if (__DEV__) {
return root;
}
- var ReactVersion = "18.3.0-www-modern-bb4e25d0";
+ var ReactVersion = "18.3.0-www-modern-f8aa8f51";
function createPortal$1(
children,
@@ -42358,7 +42358,7 @@ if (__DEV__) {
if (typeof value !== "object" || !("__html" in value)) {
throw new Error(
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. " +
- "Please visit https://reactjs.org/link/dangerously-set-inner-html " +
+ "Please visit https://react.dev/link/dangerously-set-inner-html " +
"for more information."
);
}
@@ -42732,7 +42732,7 @@ if (__DEV__) {
if (typeof value !== "object" || !("__html" in value)) {
throw new Error(
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. " +
- "Please visit https://reactjs.org/link/dangerously-set-inner-html " +
+ "Please visit https://react.dev/link/dangerously-set-inner-html " +
"for more information."
);
}
@@ -43374,7 +43374,7 @@ if (__DEV__) {
"This is likely caused by the value changing from undefined to " +
"a defined value, which should not happen. " +
"Decide between using a controlled or uncontrolled input " +
- "element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"
+ "element for the lifetime of the component. More info: https://react.dev/link/controlled-components"
);
didWarnUncontrolledToControlled = true;
@@ -43390,7 +43390,7 @@ if (__DEV__) {
"This is likely caused by the value changing from a defined to " +
"undefined, which should not happen. " +
"Decide between using a controlled or uncontrolled input " +
- "element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"
+ "element for the lifetime of the component. More info: https://react.dev/link/controlled-components"
);
didWarnControlledToUncontrolled = true;
@@ -49112,7 +49112,7 @@ if (__DEV__) {
) {
error(
"React depends on Map and Set built-in types. Make sure that you load a " +
- "polyfill in older browsers. https://reactjs.org/link/react-polyfills"
+ "polyfill in older browsers. https://react.dev/link/react-polyfills"
);
}
}
@@ -49205,10 +49205,10 @@ if (__DEV__) {
console.info(
"%cDownload the React DevTools " +
"for a better development experience: " +
- "https://reactjs.org/link/react-devtools" +
+ "https://react.dev/link/react-devtools" +
(protocol === "file:"
? "\nYou might need to use a local HTTP server (instead of file://): " +
- "https://reactjs.org/link/react-devtools-faq"
+ "https://react.dev/link/react-devtools-faq"
: ""),
"font-weight:bold"
);
diff --git a/compiled/facebook-www/ReactServer-dev.modern.js b/compiled/facebook-www/ReactServer-dev.modern.js
index 531b879101..100953972b 100644
--- a/compiled/facebook-www/ReactServer-dev.modern.js
+++ b/compiled/facebook-www/ReactServer-dev.modern.js
@@ -950,7 +950,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
);
@@ -971,7 +971,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
);
}
@@ -996,7 +996,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
);
}
@@ -1816,7 +1816,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
);
@@ -2321,7 +2321,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
@@ -2809,7 +2809,7 @@ if (__DEV__) {
console["error"](error);
};
- var ReactVersion = "18.3.0-www-modern-6b351b63";
+ var ReactVersion = "18.3.0-www-modern-bab94e1d";
// Patch fetch
var Children = {
diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js
index 91d9930237..3149b8c7a2 100644
--- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js
+++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js
@@ -990,7 +990,7 @@ if (__DEV__) {
error(
"The installed version of React DevTools is too old and will not work " +
"with the current version of React. Please update React DevTools. " +
- "https://reactjs.org/link/react-devtools"
+ "https://react.dev/link/react-devtools"
);
} // DevTools exists, even though it doesn't support Fiber.
@@ -4701,7 +4701,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"\nPlease update the following components: %s",
sortedNames
@@ -4716,11 +4716,11 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillReceiveProps in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, " +
"refactor your code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"\nPlease update the following components: %s",
_sortedNames
);
@@ -4734,7 +4734,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillUpdate in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"\nPlease update the following components: %s",
_sortedNames2
@@ -4748,7 +4748,7 @@ if (__DEV__) {
warn(
"componentWillMount has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"* Rename componentWillMount to UNSAFE_componentWillMount to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -4766,11 +4766,11 @@ if (__DEV__) {
warn(
"componentWillReceiveProps has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, refactor your " +
"code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
"To rename all deprecated lifecycles to their new names, you can run " +
@@ -4787,7 +4787,7 @@ if (__DEV__) {
warn(
"componentWillUpdate has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -4860,7 +4860,7 @@ if (__DEV__) {
"\n\nThe old API will be supported in all 16.x releases, but applications " +
"using it should migrate to the new version." +
"\n\nPlease update the following components: %s" +
- "\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",
+ "\n\nLearn more about this warning here: https://react.dev/link/legacy-context",
sortedNames
);
} finally {
@@ -5283,7 +5283,7 @@ if (__DEV__) {
error(
"Each child in a list should have a unique " +
- '"key" prop. See https://reactjs.org/link/warning-keys for ' +
+ '"key" prop. See https://react.dev/link/warning-keys for ' +
"more information."
);
};
@@ -5326,7 +5326,7 @@ if (__DEV__) {
"1. You may be adding a ref to a function component\n" +
"2. You may be adding a ref to a component that was not created inside a component's render method\n" +
"3. You have multiple copies of React loaded\n" +
- "See https://reactjs.org/link/refs-must-have-owner for more information."
+ "See https://react.dev/link/refs-must-have-owner for more information."
);
}
@@ -5335,7 +5335,7 @@ if (__DEV__) {
"Function components cannot have string refs. " +
"We recommend using useRef() instead. " +
"Learn more about using refs safely here: " +
- "https://reactjs.org/link/strict-mode-string-ref"
+ "https://react.dev/link/strict-mode-string-ref"
);
}
@@ -5353,7 +5353,7 @@ if (__DEV__) {
"will be removed in a future major release. We recommend 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",
componentName,
stringRef
);
@@ -7384,7 +7384,7 @@ if (__DEV__) {
error(
"React has detected a change in the order of Hooks called by %s. " +
"This will lead to bugs and errors if not fixed. " +
- "For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n" +
+ "For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n" +
" Previous render Next render\n" +
" ------------------------------------------------------\n" +
"%s" +
@@ -7435,7 +7435,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."
);
}
@@ -9908,7 +9908,7 @@ if (__DEV__) {
"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. " +
"You can only call Hooks at the top level of your React function. " +
"For more information, see " +
- "https://reactjs.org/link/rules-of-hooks"
+ "https://react.dev/link/rules-of-hooks"
);
};
@@ -11805,7 +11805,7 @@ if (__DEV__) {
"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
"%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n" +
"The above lifecycles should be removed. Learn more about this warning here:\n" +
- "https://reactjs.org/link/unsafe-component-lifecycles",
+ "https://react.dev/link/unsafe-component-lifecycles",
_componentName,
newApiName,
foundWillMountName !== null ? "\n " + foundWillMountName : "",
@@ -12414,7 +12414,7 @@ if (__DEV__) {
if (boundary.tag === HostRoot) {
errorBoundaryMessage =
"Consider adding an error boundary to your tree to customize error handling behavior.\n" +
- "Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.";
+ "Visit https://react.dev/link/error-boundaries to learn more about error boundaries.";
} else {
var errorBoundaryName =
getComponentNameFromFiber(boundary) || "Anonymous";
@@ -18694,7 +18694,7 @@ if (__DEV__) {
" }\n" +
" fetchData();\n" +
"}, [someId]); // Or [] if effect doesn't need props or state\n\n" +
- "Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching";
+ "Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching";
} else {
addendum = " You returned: " + destroy;
}
@@ -24761,7 +24761,7 @@ if (__DEV__) {
error(
"Cannot update a component (`%s`) while rendering a " +
"different component (`%s`). To locate the bad setState() call inside `%s`, " +
- "follow the stack trace as described in https://reactjs.org/link/setstate-in-render",
+ "follow the stack trace as described in https://react.dev/link/setstate-in-render",
setStateComponentName,
renderingComponentName,
renderingComponentName
@@ -24857,7 +24857,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act",
+ " Learn more at https://react.dev/link/wrap-tests-with-act",
getComponentNameFromFiber(fiber)
);
} finally {
@@ -24889,7 +24889,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act"
+ " Learn more at https://react.dev/link/wrap-tests-with-act"
);
}
}
@@ -26102,7 +26102,7 @@ if (__DEV__) {
return root;
}
- var ReactVersion = "18.3.0-www-classic-fd6595f6";
+ var ReactVersion = "18.3.0-www-classic-767ddd4e";
// Might add PROFILE later.
diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js
index 86883ef9ed..1541cb4cda 100644
--- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js
+++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js
@@ -990,7 +990,7 @@ if (__DEV__) {
error(
"The installed version of React DevTools is too old and will not work " +
"with the current version of React. Please update React DevTools. " +
- "https://reactjs.org/link/react-devtools"
+ "https://react.dev/link/react-devtools"
);
} // DevTools exists, even though it doesn't support Fiber.
@@ -4701,7 +4701,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"\nPlease update the following components: %s",
sortedNames
@@ -4716,11 +4716,11 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillReceiveProps in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, " +
"refactor your code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"\nPlease update the following components: %s",
_sortedNames
);
@@ -4734,7 +4734,7 @@ if (__DEV__) {
error(
"Using UNSAFE_componentWillUpdate in strict mode is not recommended " +
"and may indicate bugs in your code. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"\nPlease update the following components: %s",
_sortedNames2
@@ -4748,7 +4748,7 @@ if (__DEV__) {
warn(
"componentWillMount has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
"* Rename componentWillMount to UNSAFE_componentWillMount to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -4766,11 +4766,11 @@ if (__DEV__) {
warn(
"componentWillReceiveProps has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* If you're updating state whenever props change, refactor your " +
"code to use memoization techniques or move it to " +
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
"* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
"To rename all deprecated lifecycles to their new names, you can run " +
@@ -4787,7 +4787,7 @@ if (__DEV__) {
warn(
"componentWillUpdate has been renamed, and is not recommended for use. " +
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
"* Move data fetching code or side effects to componentDidUpdate.\n" +
"* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress " +
"this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -4860,7 +4860,7 @@ if (__DEV__) {
"\n\nThe old API will be supported in all 16.x releases, but applications " +
"using it should migrate to the new version." +
"\n\nPlease update the following components: %s" +
- "\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",
+ "\n\nLearn more about this warning here: https://react.dev/link/legacy-context",
sortedNames
);
} finally {
@@ -5283,7 +5283,7 @@ if (__DEV__) {
error(
"Each child in a list should have a unique " +
- '"key" prop. See https://reactjs.org/link/warning-keys for ' +
+ '"key" prop. See https://react.dev/link/warning-keys for ' +
"more information."
);
};
@@ -5326,7 +5326,7 @@ if (__DEV__) {
"1. You may be adding a ref to a function component\n" +
"2. You may be adding a ref to a component that was not created inside a component's render method\n" +
"3. You have multiple copies of React loaded\n" +
- "See https://reactjs.org/link/refs-must-have-owner for more information."
+ "See https://react.dev/link/refs-must-have-owner for more information."
);
}
@@ -5335,7 +5335,7 @@ if (__DEV__) {
"Function components cannot have string refs. " +
"We recommend using useRef() instead. " +
"Learn more about using refs safely here: " +
- "https://reactjs.org/link/strict-mode-string-ref"
+ "https://react.dev/link/strict-mode-string-ref"
);
}
@@ -5353,7 +5353,7 @@ if (__DEV__) {
"will be removed in a future major release. We recommend 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",
componentName,
stringRef
);
@@ -7384,7 +7384,7 @@ if (__DEV__) {
error(
"React has detected a change in the order of Hooks called by %s. " +
"This will lead to bugs and errors if not fixed. " +
- "For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n" +
+ "For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n" +
" Previous render Next render\n" +
" ------------------------------------------------------\n" +
"%s" +
@@ -7435,7 +7435,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."
);
}
@@ -9908,7 +9908,7 @@ if (__DEV__) {
"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. " +
"You can only call Hooks at the top level of your React function. " +
"For more information, see " +
- "https://reactjs.org/link/rules-of-hooks"
+ "https://react.dev/link/rules-of-hooks"
);
};
@@ -11805,7 +11805,7 @@ if (__DEV__) {
"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
"%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n" +
"The above lifecycles should be removed. Learn more about this warning here:\n" +
- "https://reactjs.org/link/unsafe-component-lifecycles",
+ "https://react.dev/link/unsafe-component-lifecycles",
_componentName,
newApiName,
foundWillMountName !== null ? "\n " + foundWillMountName : "",
@@ -12414,7 +12414,7 @@ if (__DEV__) {
if (boundary.tag === HostRoot) {
errorBoundaryMessage =
"Consider adding an error boundary to your tree to customize error handling behavior.\n" +
- "Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.";
+ "Visit https://react.dev/link/error-boundaries to learn more about error boundaries.";
} else {
var errorBoundaryName =
getComponentNameFromFiber(boundary) || "Anonymous";
@@ -18694,7 +18694,7 @@ if (__DEV__) {
" }\n" +
" fetchData();\n" +
"}, [someId]); // Or [] if effect doesn't need props or state\n\n" +
- "Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching";
+ "Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching";
} else {
addendum = " You returned: " + destroy;
}
@@ -24761,7 +24761,7 @@ if (__DEV__) {
error(
"Cannot update a component (`%s`) while rendering a " +
"different component (`%s`). To locate the bad setState() call inside `%s`, " +
- "follow the stack trace as described in https://reactjs.org/link/setstate-in-render",
+ "follow the stack trace as described in https://react.dev/link/setstate-in-render",
setStateComponentName,
renderingComponentName,
renderingComponentName
@@ -24857,7 +24857,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act",
+ " Learn more at https://react.dev/link/wrap-tests-with-act",
getComponentNameFromFiber(fiber)
);
} finally {
@@ -24889,7 +24889,7 @@ if (__DEV__) {
"/* assert on the output */\n\n" +
"This ensures that you're testing the behavior the user would see " +
"in the browser." +
- " Learn more at https://reactjs.org/link/wrap-tests-with-act"
+ " Learn more at https://react.dev/link/wrap-tests-with-act"
);
}
}
@@ -26102,7 +26102,7 @@ if (__DEV__) {
return root;
}
- var ReactVersion = "18.3.0-www-modern-1a7349f1";
+ var ReactVersion = "18.3.0-www-modern-78e7b472";
// Might add PROFILE later.
diff --git a/compiled/facebook-www/ReactTestUtils-dev.classic.js b/compiled/facebook-www/ReactTestUtils-dev.classic.js
index b74d14d8f5..5b8183c463 100644
--- a/compiled/facebook-www/ReactTestUtils-dev.classic.js
+++ b/compiled/facebook-www/ReactTestUtils-dev.classic.js
@@ -1344,7 +1344,7 @@ if (__DEV__) {
warn(
"ReactTestUtils.mockComponent() is deprecated. " +
"Use shallow rendering or jest.mock() instead.\n\n" +
- "See https://reactjs.org/link/test-utils-mock-component for more information."
+ "See https://react.dev/link/test-utils-mock-component for more information."
);
}
}
diff --git a/compiled/facebook-www/ReactTestUtils-dev.modern.js b/compiled/facebook-www/ReactTestUtils-dev.modern.js
index b74d14d8f5..5b8183c463 100644
--- a/compiled/facebook-www/ReactTestUtils-dev.modern.js
+++ b/compiled/facebook-www/ReactTestUtils-dev.modern.js
@@ -1344,7 +1344,7 @@ if (__DEV__) {
warn(
"ReactTestUtils.mockComponent() is deprecated. " +
"Use shallow rendering or jest.mock() instead.\n\n" +
- "See https://reactjs.org/link/test-utils-mock-component for more information."
+ "See https://react.dev/link/test-utils-mock-component for more information."
);
}
}
diff --git a/compiled/facebook-www/__test_utils__/ReactAllWarnings.js b/compiled/facebook-www/__test_utils__/ReactAllWarnings.js
index 89dd6e0c6b..63064c1e2d 100644
--- a/compiled/facebook-www/__test_utils__/ReactAllWarnings.js
+++ b/compiled/facebook-www/__test_utils__/ReactAllWarnings.js
@@ -15,9 +15,9 @@ export default [
"\"%s\" is not a valid value for revealOrder on