@@ -286,7 +286,7 @@ var invokeGuardedCallbackImpl = invokeGuardedCallbackProd;
286286 error = new Error(
287287 "A cross-origin error was thrown. React doesn't have access to " +
288288 "the actual error object in development. " +
289- "See https://reactjs.org /link/crossorigin-error for more information."
289+ "See https://react.dev /link/crossorigin-error for more information."
290290 );
291291 }
292292
@@ -857,7 +857,7 @@ function getPooledWarningPropertyDefinition(propName, getVal) {
857857 "This synthetic event is reused for performance reasons. If you're seeing this, " +
858858 "you're %s `%s` on a released/nullified synthetic event. %s. " +
859859 "If you must keep the original synthetic event around, use event.persist(). " +
860- "See https://reactjs.org /link/event-pooling for more information.",
860+ "See https://react.dev /link/event-pooling for more information.",
861861 action,
862862 propName,
863863 result
@@ -4115,7 +4115,7 @@ function injectInternals(internals) {
41154115 error(
41164116 "The installed version of React DevTools is too old and will not work " +
41174117 "with the current version of React. Please update React DevTools. " +
4118- "https://reactjs.org /link/react-devtools"
4118+ "https://react.dev /link/react-devtools"
41194119 );
41204120 } // DevTools exists, even though it doesn't support Fiber.
41214121
@@ -6628,7 +6628,7 @@ var ReactStrictModeWarnings = {
66286628
66296629 error(
66306630 "Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. " +
6631- "See https://reactjs.org /link/unsafe-component-lifecycles for details.\n\n" +
6631+ "See https://react.dev /link/unsafe-component-lifecycles for details.\n\n" +
66326632 "* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
66336633 "\nPlease update the following components: %s",
66346634 sortedNames
@@ -6643,11 +6643,11 @@ var ReactStrictModeWarnings = {
66436643 error(
66446644 "Using UNSAFE_componentWillReceiveProps in strict mode is not recommended " +
66456645 "and may indicate bugs in your code. " +
6646- "See https://reactjs.org /link/unsafe-component-lifecycles for details.\n\n" +
6646+ "See https://react.dev /link/unsafe-component-lifecycles for details.\n\n" +
66476647 "* Move data fetching code or side effects to componentDidUpdate.\n" +
66486648 "* If you're updating state whenever props change, " +
66496649 "refactor your code to use memoization techniques or move it to " +
6650- "static getDerivedStateFromProps. Learn more at: https://reactjs.org /link/derived-state\n" +
6650+ "static getDerivedStateFromProps. Learn more at: https://react.dev /link/derived-state\n" +
66516651 "\nPlease update the following components: %s",
66526652 _sortedNames
66536653 );
@@ -6661,7 +6661,7 @@ var ReactStrictModeWarnings = {
66616661 error(
66626662 "Using UNSAFE_componentWillUpdate in strict mode is not recommended " +
66636663 "and may indicate bugs in your code. " +
6664- "See https://reactjs.org /link/unsafe-component-lifecycles for details.\n\n" +
6664+ "See https://react.dev /link/unsafe-component-lifecycles for details.\n\n" +
66656665 "* Move data fetching code or side effects to componentDidUpdate.\n" +
66666666 "\nPlease update the following components: %s",
66676667 _sortedNames2
@@ -6673,7 +6673,7 @@ var ReactStrictModeWarnings = {
66736673
66746674 warn(
66756675 "componentWillMount has been renamed, and is not recommended for use. " +
6676- "See https://reactjs.org /link/unsafe-component-lifecycles for details.\n\n" +
6676+ "See https://react.dev /link/unsafe-component-lifecycles for details.\n\n" +
66776677 "* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
66786678 "* Rename componentWillMount to UNSAFE_componentWillMount to suppress " +
66796679 "this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -6691,11 +6691,11 @@ var ReactStrictModeWarnings = {
66916691
66926692 warn(
66936693 "componentWillReceiveProps has been renamed, and is not recommended for use. " +
6694- "See https://reactjs.org /link/unsafe-component-lifecycles for details.\n\n" +
6694+ "See https://react.dev /link/unsafe-component-lifecycles for details.\n\n" +
66956695 "* Move data fetching code or side effects to componentDidUpdate.\n" +
66966696 "* If you're updating state whenever props change, refactor your " +
66976697 "code to use memoization techniques or move it to " +
6698- "static getDerivedStateFromProps. Learn more at: https://reactjs.org /link/derived-state\n" +
6698+ "static getDerivedStateFromProps. Learn more at: https://react.dev /link/derived-state\n" +
66996699 "* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress " +
67006700 "this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
67016701 "To rename all deprecated lifecycles to their new names, you can run " +
@@ -6710,7 +6710,7 @@ var ReactStrictModeWarnings = {
67106710
67116711 warn(
67126712 "componentWillUpdate has been renamed, and is not recommended for use. " +
6713- "See https://reactjs.org /link/unsafe-component-lifecycles for details.\n\n" +
6713+ "See https://react.dev /link/unsafe-component-lifecycles for details.\n\n" +
67146714 "* Move data fetching code or side effects to componentDidUpdate.\n" +
67156715 "* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress " +
67166716 "this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -6783,7 +6783,7 @@ var ReactStrictModeWarnings = {
67836783 "\n\nThe old API will be supported in all 16.x releases, but applications " +
67846784 "using it should migrate to the new version." +
67856785 "\n\nPlease update the following components: %s" +
6786- "\n\nLearn more about this warning here: https://reactjs.org /link/legacy-context",
6786+ "\n\nLearn more about this warning here: https://react.dev /link/legacy-context",
67876787 sortedNames
67886788 );
67896789 } finally {
@@ -8485,7 +8485,7 @@ function constructClassInstance(workInProgress, ctor, props) {
84858485 "Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
84868486 "%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n" +
84878487 "The above lifecycles should be removed. Learn more about this warning here:\n" +
8488- "https://reactjs.org /link/unsafe-component-lifecycles",
8488+ "https://react.dev /link/unsafe-component-lifecycles",
84898489 _componentName,
84908490 newApiName,
84918491 foundWillMountName !== null ? "\n " + foundWillMountName : "",
@@ -9005,7 +9005,7 @@ var warnForMissingKey = function(child, returnFiber) {};
90059005
90069006 error(
90079007 "Each child in a list should have a unique " +
9008- '"key" prop. See https://reactjs.org /link/warning-keys for ' +
9008+ '"key" prop. See https://react.dev /link/warning-keys for ' +
90099009 "more information."
90109010 );
90119011 };
@@ -9042,7 +9042,7 @@ function coerceRef(returnFiber, current, element) {
90429042 "String refs are a source of potential bugs and should be avoided. " +
90439043 "We recommend using useRef() or createRef() instead. " +
90449044 "Learn more about using refs safely here: " +
9045- "https://reactjs.org /link/strict-mode-string-ref",
9045+ "https://react.dev /link/strict-mode-string-ref",
90469046 mixedRef
90479047 );
90489048 }
@@ -9064,7 +9064,7 @@ function coerceRef(returnFiber, current, element) {
90649064 "Function components cannot have string refs. " +
90659065 "We recommend using useRef() instead. " +
90669066 "Learn more about using refs safely here: " +
9067- "https://reactjs.org /link/strict-mode-string-ref"
9067+ "https://react.dev /link/strict-mode-string-ref"
90689068 );
90699069 }
90709070
@@ -9130,7 +9130,7 @@ function coerceRef(returnFiber, current, element) {
91309130 "1. You may be adding a ref to a function component\n" +
91319131 "2. You may be adding a ref to a component that was not created inside a component's render method\n" +
91329132 "3. You have multiple copies of React loaded\n" +
9133- "See https://reactjs.org /link/refs-must-have-owner for more information."
9133+ "See https://react.dev /link/refs-must-have-owner for more information."
91349134 );
91359135 }
91369136 }
@@ -10638,7 +10638,7 @@ function warnOnHookMismatchInDev(currentHookName) {
1063810638 error(
1063910639 "React has detected a change in the order of Hooks called by %s. " +
1064010640 "This will lead to bugs and errors if not fixed. " +
10641- "For more information, read the Rules of Hooks: https://reactjs.org /link/rules-of-hooks\n\n" +
10641+ "For more information, read the Rules of Hooks: https://react.dev /link/rules-of-hooks\n\n" +
1064210642 " Previous render Next render\n" +
1064310643 " ------------------------------------------------------\n" +
1064410644 "%s" +
@@ -10658,7 +10658,7 @@ function throwInvalidHookError() {
1065810658 "1. You might have mismatching versions of React and the renderer (such as React DOM)\n" +
1065910659 "2. You might be breaking the Rules of Hooks\n" +
1066010660 "3. You might have more than one copy of React in the same app\n" +
10661- "See https://reactjs.org /link/invalid-hook-call for tips about how to debug and fix this problem."
10661+ "See https://react.dev /link/invalid-hook-call for tips about how to debug and fix this problem."
1066210662 );
1066310663}
1066410664
@@ -12115,7 +12115,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
1211512115 "Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. " +
1211612116 "You can only call Hooks at the top level of your React function. " +
1211712117 "For more information, see " +
12118- "https://reactjs.org /link/rules-of-hooks"
12118+ "https://react.dev /link/rules-of-hooks"
1211912119 );
1212012120 };
1212112121
@@ -13183,7 +13183,7 @@ function logCapturedError(boundary, errorInfo) {
1318313183 if (boundary.tag === HostRoot) {
1318413184 errorBoundaryMessage =
1318513185 "Consider adding an error boundary to your tree to customize error handling behavior.\n" +
13186- "Visit https://reactjs.org /link/error-boundaries to learn more about error boundaries.";
13186+ "Visit https://react.dev /link/error-boundaries to learn more about error boundaries.";
1318713187 } else {
1318813188 var errorBoundaryName =
1318913189 getComponentNameFromFiber(boundary) || "Anonymous";
@@ -18380,7 +18380,7 @@ function commitHookEffectListMount(flags, finishedWork) {
1838018380 " }\n" +
1838118381 " fetchData();\n" +
1838218382 "}, [someId]); // Or [] if effect doesn't need props or state\n\n" +
18383- "Learn more about data fetching with Hooks: https://reactjs.org /link/hooks-data-fetching";
18383+ "Learn more about data fetching with Hooks: https://react.dev /link/hooks-data-fetching";
1838418384 } else {
1838518385 addendum = " You returned: " + destroy;
1838618386 }
@@ -22072,7 +22072,7 @@ function warnAboutRenderPhaseUpdatesInDEV(fiber) {
2207222072 error(
2207322073 "Cannot update a component (`%s`) while rendering a " +
2207422074 "different component (`%s`). To locate the bad setState() call inside `%s`, " +
22075- "follow the stack trace as described in https://reactjs.org /link/setstate-in-render",
22075+ "follow the stack trace as described in https://react.dev /link/setstate-in-render",
2207622076 setStateComponentName,
2207722077 renderingComponentName,
2207822078 renderingComponentName
@@ -22189,7 +22189,7 @@ function warnIfUpdatesNotWrappedWithActDEV(fiber) {
2218922189 "/* assert on the output */\n\n" +
2219022190 "This ensures that you're testing the behavior the user would see " +
2219122191 "in the browser." +
22192- " Learn more at https://reactjs.org /link/wrap-tests-with-act",
22192+ " Learn more at https://react.dev /link/wrap-tests-with-act",
2219322193 getComponentNameFromFiber(fiber)
2219422194 );
2219522195 } finally {
@@ -22221,7 +22221,7 @@ function warnIfSuspenseResolutionNotWrappedWithActDEV(root) {
2222122221 "/* assert on the output */\n\n" +
2222222222 "This ensures that you're testing the behavior the user would see " +
2222322223 "in the browser." +
22224- " Learn more at https://reactjs.org /link/wrap-tests-with-act"
22224+ " Learn more at https://react.dev /link/wrap-tests-with-act"
2222522225 );
2222622226 }
2222722227 }
@@ -23471,7 +23471,7 @@ function findHostInstanceWithWarning(component, methodName) {
2347123471 "%s was passed an instance of %s which is inside StrictMode. " +
2347223472 "Instead, add a ref directly to the element you want to reference. " +
2347323473 "Learn more about using refs safely here: " +
23474- "https://reactjs.org /link/strict-mode-find-node",
23474+ "https://react.dev /link/strict-mode-find-node",
2347523475 methodName,
2347623476 methodName,
2347723477 componentName
@@ -23482,7 +23482,7 @@ function findHostInstanceWithWarning(component, methodName) {
2348223482 "%s was passed an instance of %s which renders StrictMode children. " +
2348323483 "Instead, add a ref directly to the element you want to reference. " +
2348423484 "Learn more about using refs safely here: " +
23485- "https://reactjs.org /link/strict-mode-find-node",
23485+ "https://react.dev /link/strict-mode-find-node",
2348623486 methodName,
2348723487 methodName,
2348823488 componentName
0 commit comments