From d27934ba7ccb0c71b1c2ed1a34430f01b5c0befe Mon Sep 17 00:00:00 2001 From: rickhanlonii Date: Sun, 3 Mar 2024 22:39:24 +0000 Subject: [PATCH] Update /link URLs to react.dev (#28477) Depends on https://github.com/reactjs/react.dev/pull/6670 [merged] DiffTrain build for commit https://github.com/facebook/react/commit/1940cb27b260c2eab79c76763d1151ba18353ff8. --- .../cjs/ReactTestRenderer-dev.js | 52 ++++++++--------- .../cjs/ReactTestRenderer-prod.js | 12 ++-- .../cjs/ReactTestRenderer-profiling.js | 12 ++-- .../vendor/react/cjs/JSXDEVRuntime-dev.js | 10 ++-- .../vendor/react/cjs/JSXRuntime-dev.js | 10 ++-- .../RKJSModules/vendor/react/cjs/React-dev.js | 14 ++--- .../vendor/react/cjs/React-prod.js | 2 +- .../vendor/react/cjs/React-profiling.js | 2 +- .../Libraries/Renderer/REVISION | 2 +- .../implementations/ReactFabric-dev.fb.js | 58 +++++++++---------- .../implementations/ReactFabric-prod.fb.js | 12 ++-- .../ReactFabric-profiling.fb.js | 12 ++-- .../ReactNativeRenderer-dev.fb.js | 58 +++++++++---------- .../ReactNativeRenderer-prod.fb.js | 12 ++-- .../ReactNativeRenderer-profiling.fb.js | 12 ++-- 15 files changed, 140 insertions(+), 140 deletions(-) diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js index 7cd050065d310..8e0ea5585f63e 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<514c453e36455da8cb22e0c8c9169c24>> + * @generated SignedSource<<78b0af382001ac231b9f1246e965d57b>> */ "use strict"; @@ -985,7 +985,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. @@ -4458,7 +4458,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 @@ -4473,11 +4473,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 ); @@ -4491,7 +4491,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 @@ -4505,7 +4505,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. " + @@ -4523,11 +4523,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 " + @@ -4544,7 +4544,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. " + @@ -4617,7 +4617,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 { @@ -5040,7 +5040,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." ); }; @@ -5083,7 +5083,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." ); } @@ -5092,7 +5092,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" ); } @@ -5110,7 +5110,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 ); @@ -7116,7 +7116,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" + @@ -7167,7 +7167,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." ); } @@ -9624,7 +9624,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" ); }; @@ -11521,7 +11521,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 : "", @@ -12117,7 +12117,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"; @@ -17910,7 +17910,7 @@ if (__DEV__) { error = new Error( "A cross-origin error was thrown. React doesn't have access to " + "the actual error object in development. " + - "See https://reactjs.org/link/crossorigin-error for more information." + "See https://react.dev/link/crossorigin-error for more information." ); } @@ -18400,7 +18400,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; } @@ -24410,7 +24410,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 @@ -24506,7 +24506,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 { @@ -24538,7 +24538,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" ); } } @@ -25733,7 +25733,7 @@ if (__DEV__) { return root; } - var ReactVersion = "18.3.0-canary-30ae0baed-20240301"; + var ReactVersion = "18.3.0-canary-1940cb27b-20240303"; // Might add PROFILE later. diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js index 18c580c7c2725..18aa41c314937 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<9709781bdd6feccf0ca9738138d835d3>> */ "use strict"; @@ -1470,11 +1470,11 @@ function convertStringRefToCallbackRef( throw Error( "Element ref was specified as a string (" + stringRef + - ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information." + ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://react.dev/link/refs-must-have-owner for more information." ); if (1 !== returnFiber.tag) throw Error( - "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" + "Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://react.dev/link/strict-mode-string-ref" ); var inst = returnFiber.stateNode; if (!inst) @@ -2271,7 +2271,7 @@ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher, globalClientIdCounter = 0; function throwInvalidHookError() { 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." ); } function areHookInputsEqual(nextDeps, prevDeps) { @@ -9173,7 +9173,7 @@ var devToolsConfig$jscomp$inline_1014 = { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "18.3.0-canary-30ae0baed-20240301", + version: "18.3.0-canary-1940cb27b-20240303", rendererPackageName: "react-test-renderer" }; var internals$jscomp$inline_1195 = { @@ -9204,7 +9204,7 @@ var internals$jscomp$inline_1195 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-30ae0baed-20240301" + reconcilerVersion: "18.3.0-canary-1940cb27b-20240303" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1196 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js index 29eba41ec8db0..b62e8856096d7 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<749ebcbb693ef8635dc1c79f3b3a628d>> + * @generated SignedSource<> */ "use strict"; @@ -1490,11 +1490,11 @@ function convertStringRefToCallbackRef( throw Error( "Element ref was specified as a string (" + stringRef + - ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information." + ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://react.dev/link/refs-must-have-owner for more information." ); if (1 !== returnFiber.tag) throw Error( - "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" + "Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://react.dev/link/strict-mode-string-ref" ); var inst = returnFiber.stateNode; if (!inst) @@ -2291,7 +2291,7 @@ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher, globalClientIdCounter = 0; function throwInvalidHookError() { 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." ); } function areHookInputsEqual(nextDeps, prevDeps) { @@ -9601,7 +9601,7 @@ var devToolsConfig$jscomp$inline_1056 = { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "18.3.0-canary-30ae0baed-20240301", + version: "18.3.0-canary-1940cb27b-20240303", rendererPackageName: "react-test-renderer" }; var internals$jscomp$inline_1236 = { @@ -9632,7 +9632,7 @@ var internals$jscomp$inline_1236 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-30ae0baed-20240301" + reconcilerVersion: "18.3.0-canary-1940cb27b-20240303" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1237 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXDEVRuntime-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXDEVRuntime-dev.js index 140b4ee41e87c..01c7ac3d7376a 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXDEVRuntime-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXDEVRuntime-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<9146a80fb942b3dd40fa4ce49aaec9e5>> + * @generated SignedSource<> */ "use strict"; @@ -878,7 +878,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 ); @@ -899,7 +899,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 ); } @@ -924,7 +924,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 ); } @@ -1353,7 +1353,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-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXRuntime-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXRuntime-dev.js index 4d0b7b7ff5881..671fb2ca05b6b 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXRuntime-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXRuntime-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<80a0567bc7edf5be863000f879120fd9>> + * @generated SignedSource<<1cc43318b38f34f167ca26ed50f6b1a6>> */ "use strict"; @@ -878,7 +878,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 ); @@ -899,7 +899,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 ); } @@ -924,7 +924,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 ); } @@ -1389,7 +1389,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-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js index 64a17ff660fc6..afe12f3eb368a 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<867e292594b7b59489bd57d16c996264>> + * @generated SignedSource<<2577789535da46fdc5d6fda6be09ea30>> */ "use strict"; @@ -26,7 +26,7 @@ if (__DEV__) { } var dynamicFlags = require("ReactNativeInternalFeatureFlags"); - var ReactVersion = "18.3.0-canary-30ae0baed-20240301"; + var ReactVersion = "18.3.0-canary-1940cb27b-20240303"; // ATTENTION // When adding new symbols to this file, @@ -1260,7 +1260,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 ); @@ -1281,7 +1281,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 ); } @@ -1306,7 +1306,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 ); } @@ -2099,7 +2099,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 ); @@ -2959,7 +2959,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-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js index 4b1d802c8a1e8..7429e0a4d03c8 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js @@ -598,4 +598,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-canary-30ae0baed-20240301"; +exports.version = "18.3.0-canary-1940cb27b-20240303"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js index 188b600b64f71..ae9aafca5d7f7 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js @@ -594,7 +594,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-canary-30ae0baed-20240301"; +exports.version = "18.3.0-canary-1940cb27b-20240303"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION index f527c73665e2f..c20a06f2a3b56 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION @@ -1 +1 @@ -30ae0baed1cfe670dea41d7c7abdc375c9a4859a +1940cb27b260c2eab79c76763d1151ba18353ff8 diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js index 8e424ca762967..88a92eba85747 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<409fcb610c96c788e5d00c80fb0cad50>> + * @generated SignedSource<<2e4e75c5e196c476c8f1dd730e8063be>> */ "use strict"; @@ -252,7 +252,7 @@ if (__DEV__) { error = new Error( "A cross-origin error was thrown. React doesn't have access to " + "the actual error object in development. " + - "See https://reactjs.org/link/crossorigin-error for more information." + "See https://react.dev/link/crossorigin-error for more information." ); } @@ -840,7 +840,7 @@ if (__DEV__) { "This synthetic event is reused for performance reasons. If you're seeing this, " + "you're %s `%s` on a released/nullified synthetic event. %s. " + "If you must keep the original synthetic event around, use event.persist(). " + - "See https://reactjs.org/link/event-pooling for more information.", + "See https://react.dev/link/event-pooling for more information.", action, propName, result @@ -3512,7 +3512,7 @@ to return true:wantsResponderID| | 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. @@ -8354,7 +8354,7 @@ to return true:wantsResponderID| | 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 @@ -8369,11 +8369,11 @@ to return true:wantsResponderID| | 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 ); @@ -8387,7 +8387,7 @@ to return true:wantsResponderID| | 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 @@ -8401,7 +8401,7 @@ to return true:wantsResponderID| | 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. " + @@ -8419,11 +8419,11 @@ to return true:wantsResponderID| | 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 " + @@ -8440,7 +8440,7 @@ to return true:wantsResponderID| | 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. " + @@ -8513,7 +8513,7 @@ to return true:wantsResponderID| | "\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 { @@ -8949,7 +8949,7 @@ to return true:wantsResponderID| | 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." ); }; @@ -8992,7 +8992,7 @@ to return true:wantsResponderID| | "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." ); } @@ -9001,7 +9001,7 @@ to return true:wantsResponderID| | "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" ); } @@ -9019,7 +9019,7 @@ to return true:wantsResponderID| | "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 ); @@ -11025,7 +11025,7 @@ to return true:wantsResponderID| | 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" + @@ -11076,7 +11076,7 @@ to return true:wantsResponderID| | "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." ); } @@ -13069,7 +13069,7 @@ to return true:wantsResponderID| | "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" ); }; @@ -14785,7 +14785,7 @@ to return true:wantsResponderID| | "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 : "", @@ -15397,7 +15397,7 @@ to return true:wantsResponderID| | 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"; @@ -21241,7 +21241,7 @@ to return true:wantsResponderID| | " }\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; } @@ -26729,7 +26729,7 @@ to return true:wantsResponderID| | 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 @@ -26838,7 +26838,7 @@ to return true:wantsResponderID| | "/* 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 { @@ -26870,7 +26870,7 @@ to return true:wantsResponderID| | "/* 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" ); } } @@ -28088,7 +28088,7 @@ to return true:wantsResponderID| | return root; } - var ReactVersion = "18.3.0-canary-79e0cf8d"; + var ReactVersion = "18.3.0-canary-d0bc2995"; function createPortal$1( children, @@ -28180,7 +28180,7 @@ to return true:wantsResponderID| | "%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 @@ -28191,7 +28191,7 @@ to return true:wantsResponderID| | "%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 diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js index a02d5e4a49dd2..a8330a8fb3924 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<554f53e63c9c8753adcd614a35749b60>> + * @generated SignedSource<> */ "use strict"; @@ -2897,11 +2897,11 @@ function convertStringRefToCallbackRef( throw Error( "Element ref was specified as a string (" + stringRef + - ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information." + ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://react.dev/link/refs-must-have-owner for more information." ); if (1 !== returnFiber.tag) throw Error( - "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" + "Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://react.dev/link/strict-mode-string-ref" ); var inst = returnFiber.stateNode; if (!inst) @@ -3698,7 +3698,7 @@ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher, globalClientIdCounter = 0; function throwInvalidHookError() { 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." ); } function areHookInputsEqual(nextDeps, prevDeps) { @@ -9707,7 +9707,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1059 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "18.3.0-canary-241dc610", + version: "18.3.0-canary-2f8f605b", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -9750,7 +9750,7 @@ var internals$jscomp$inline_1284 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-241dc610" + reconcilerVersion: "18.3.0-canary-2f8f605b" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1285 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js index d225e0a7c5ac0..819a4d0f93498 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<22c727d3b43debc1d3b0419f1de92333>> + * @generated SignedSource<<37fac78cbc4e9cc6b75520ec55ba05c1>> */ "use strict"; @@ -3022,11 +3022,11 @@ function convertStringRefToCallbackRef( throw Error( "Element ref was specified as a string (" + stringRef + - ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information." + ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://react.dev/link/refs-must-have-owner for more information." ); if (1 !== returnFiber.tag) throw Error( - "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" + "Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://react.dev/link/strict-mode-string-ref" ); var inst = returnFiber.stateNode; if (!inst) @@ -3823,7 +3823,7 @@ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher, globalClientIdCounter = 0; function throwInvalidHookError() { 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." ); } function areHookInputsEqual(nextDeps, prevDeps) { @@ -10409,7 +10409,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1137 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "18.3.0-canary-3d21d46a", + version: "18.3.0-canary-f48f6d2a", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10465,7 +10465,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-3d21d46a" + reconcilerVersion: "18.3.0-canary-f48f6d2a" }); exports.createPortal = function (children, containerTag) { return createPortal$1( diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js index f2fc664660267..a1be5efdb3c8d 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<8115bda793528a085e7459e0166827d3>> + * @generated SignedSource<<1731e3e66fdf4187797147464b0aa167>> */ "use strict"; @@ -252,7 +252,7 @@ if (__DEV__) { error = new Error( "A cross-origin error was thrown. React doesn't have access to " + "the actual error object in development. " + - "See https://reactjs.org/link/crossorigin-error for more information." + "See https://react.dev/link/crossorigin-error for more information." ); } @@ -840,7 +840,7 @@ if (__DEV__) { "This synthetic event is reused for performance reasons. If you're seeing this, " + "you're %s `%s` on a released/nullified synthetic event. %s. " + "If you must keep the original synthetic event around, use event.persist(). " + - "See https://reactjs.org/link/event-pooling for more information.", + "See https://react.dev/link/event-pooling for more information.", action, propName, result @@ -4402,7 +4402,7 @@ to return true:wantsResponderID| | 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. @@ -8625,7 +8625,7 @@ to return true:wantsResponderID| | 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 @@ -8640,11 +8640,11 @@ to return true:wantsResponderID| | 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 ); @@ -8658,7 +8658,7 @@ to return true:wantsResponderID| | 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 @@ -8672,7 +8672,7 @@ to return true:wantsResponderID| | 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. " + @@ -8690,11 +8690,11 @@ to return true:wantsResponderID| | 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 " + @@ -8711,7 +8711,7 @@ to return true:wantsResponderID| | 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. " + @@ -8784,7 +8784,7 @@ to return true:wantsResponderID| | "\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 { @@ -9220,7 +9220,7 @@ to return true:wantsResponderID| | 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." ); }; @@ -9263,7 +9263,7 @@ to return true:wantsResponderID| | "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." ); } @@ -9272,7 +9272,7 @@ to return true:wantsResponderID| | "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" ); } @@ -9290,7 +9290,7 @@ to return true:wantsResponderID| | "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 ); @@ -11296,7 +11296,7 @@ to return true:wantsResponderID| | 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" + @@ -11347,7 +11347,7 @@ to return true:wantsResponderID| | "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." ); } @@ -13340,7 +13340,7 @@ to return true:wantsResponderID| | "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" ); }; @@ -15056,7 +15056,7 @@ to return true:wantsResponderID| | "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 : "", @@ -15668,7 +15668,7 @@ to return true:wantsResponderID| | 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"; @@ -21282,7 +21282,7 @@ to return true:wantsResponderID| | " }\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; } @@ -27169,7 +27169,7 @@ to return true:wantsResponderID| | 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 @@ -27278,7 +27278,7 @@ to return true:wantsResponderID| | "/* 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 { @@ -27310,7 +27310,7 @@ to return true:wantsResponderID| | "/* 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" ); } } @@ -28528,7 +28528,7 @@ to return true:wantsResponderID| | return root; } - var ReactVersion = "18.3.0-canary-951ec3ac"; + var ReactVersion = "18.3.0-canary-aba998f4"; function createPortal$1( children, @@ -28620,7 +28620,7 @@ to return true:wantsResponderID| | "%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 @@ -28631,7 +28631,7 @@ to return true:wantsResponderID| | "%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 diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js index 41123c6b1d5a6..f7c5e1cff6636 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<5851ed8034e7e6767df6c7658646bfa3>> + * @generated SignedSource<> */ "use strict"; @@ -2962,11 +2962,11 @@ function convertStringRefToCallbackRef( throw Error( "Element ref was specified as a string (" + stringRef + - ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information." + ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://react.dev/link/refs-must-have-owner for more information." ); if (1 !== returnFiber.tag) throw Error( - "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" + "Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://react.dev/link/strict-mode-string-ref" ); var inst = returnFiber.stateNode; if (!inst) @@ -3763,7 +3763,7 @@ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher, globalClientIdCounter = 0; function throwInvalidHookError() { 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." ); } function areHookInputsEqual(nextDeps, prevDeps) { @@ -9925,7 +9925,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1128 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "18.3.0-canary-06f130e8", + version: "18.3.0-canary-8e5fd4f4", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -9968,7 +9968,7 @@ var internals$jscomp$inline_1367 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-06f130e8" + reconcilerVersion: "18.3.0-canary-8e5fd4f4" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1368 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js index e3472042d5e12..2f715670a2009 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<2ac537308632647a4cb69db0af181ea0>> + * @generated SignedSource<> */ "use strict"; @@ -3086,11 +3086,11 @@ function convertStringRefToCallbackRef( throw Error( "Element ref was specified as a string (" + stringRef + - ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information." + ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://react.dev/link/refs-must-have-owner for more information." ); if (1 !== returnFiber.tag) throw Error( - "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" + "Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://react.dev/link/strict-mode-string-ref" ); var inst = returnFiber.stateNode; if (!inst) @@ -3887,7 +3887,7 @@ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher, globalClientIdCounter = 0; function throwInvalidHookError() { 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." ); } function areHookInputsEqual(nextDeps, prevDeps) { @@ -10627,7 +10627,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1206 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "18.3.0-canary-bd69fbf0", + version: "18.3.0-canary-29fad0f1", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10683,7 +10683,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-canary-bd69fbf0" + reconcilerVersion: "18.3.0-canary-29fad0f1" }); exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = { computeComponentStackForErrorReporting: function (reactTag) {