From d75b43973df4b533eed103c8b3bdd968930c612a Mon Sep 17 00:00:00 2001 From: sebmarkbage Date: Fri, 27 Jun 2025 05:52:12 -0700 Subject: [PATCH] Include Component Props in Performance Track (#33655) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Similar to how we can include a Promise resolved value we can include Component Props. For now I left out props for Client Components for perf unless they error. I'll try it for Client Components in general in a separate PR. Screenshot 2025-06-26 at 5 54 29 PM Screenshot 2025-06-26 at 5 54 12 PM DiffTrain build for [d2a288febf61a1755b78ce98b3cb17dd412b81e3](https://github.com/facebook/react/commit/d2a288febf61a1755b78ce98b3cb17dd412b81e3) --- compiled-rn/VERSION_NATIVE_FB | 2 +- .../react/react-dom/cjs/ReactDOM-dev.js | 4 +- .../react/react-dom/cjs/ReactDOM-prod.js | 4 +- .../react/react-dom/cjs/ReactDOM-profiling.js | 4 +- .../react/react-dom/cjs/ReactDOMClient-dev.js | 167 +++++++++++++++++- .../react-dom/cjs/ReactDOMClient-prod.js | 12 +- .../react-dom/cjs/ReactDOMClient-profiling.js | 12 +- .../react-dom/cjs/ReactDOMProfiling-dev.js | 167 +++++++++++++++++- .../react-dom/cjs/ReactDOMProfiling-prod.js | 12 +- .../cjs/ReactDOMProfiling-profiling.js | 12 +- .../cjs/ReactTestRenderer-dev.js | 10 +- .../cjs/ReactTestRenderer-prod.js | 10 +- .../cjs/ReactTestRenderer-profiling.js | 10 +- .../vendor/react/react/cjs/React-dev.js | 4 +- .../vendor/react/react/cjs/React-prod.js | 4 +- .../vendor/react/react/cjs/React-profiling.js | 4 +- .../Libraries/Renderer/REVISION | 2 +- .../implementations/ReactFabric-dev.fb.js | 159 ++++++++++++++++- .../implementations/ReactFabric-prod.fb.js | 8 +- .../ReactFabric-profiling.fb.js | 8 +- .../ReactNativeRenderer-dev.fb.js | 163 ++++++++++++++++- .../ReactNativeRenderer-prod.fb.js | 12 +- .../ReactNativeRenderer-profiling.fb.js | 12 +- .../eslint-plugin-react-hooks/package.json | 2 +- 24 files changed, 708 insertions(+), 96 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index ca01f96732..ce4e792b97 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.2.0-native-fb-9b2a545b-20250625 \ No newline at end of file +19.2.0-native-fb-d2a288fe-20250627 \ No newline at end of file diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js index f0a817ecef..6eb6c8eef2 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<7394847dfb7bbfabb08d4e5bae119e8e>> + * @generated SignedSource<> */ "use strict"; @@ -404,5 +404,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-native-fb-9b2a545b-20250625"; + exports.version = "19.2.0-native-fb-d2a288fe-20250627"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js index 9f006e2907..ae6b5ea106 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<46bb020febbefb5857caf0a4a28f6e6c>> + * @generated SignedSource<> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-9b2a545b-20250625"; +exports.version = "19.2.0-native-fb-d2a288fe-20250627"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js index 9f006e2907..ae6b5ea106 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<46bb020febbefb5857caf0a4a28f6e6c>> + * @generated SignedSource<> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-9b2a545b-20250625"; +exports.version = "19.2.0-native-fb-d2a288fe-20250627"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js index d79a18e80d..421abcd720 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<6c1a8b9a30fef259200b63e7b175baf0>> + * @generated SignedSource<> */ /* @@ -3862,6 +3862,147 @@ __DEV__ && topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]); } + function getArrayKind(array) { + for (var kind = EMPTY_ARRAY, i = 0; i < array.length; i++) { + var value = array[i]; + if ("object" === typeof value && null !== value) + if ( + isArrayImpl(value) && + 2 === value.length && + "string" === typeof value[0] + ) { + if (kind !== EMPTY_ARRAY && kind !== ENTRIES_ARRAY) + return COMPLEX_ARRAY; + kind = ENTRIES_ARRAY; + } else return COMPLEX_ARRAY; + else { + if ( + "function" === typeof value || + ("string" === typeof value && 50 < value.length) || + (kind !== EMPTY_ARRAY && kind !== PRIMITIVE_ARRAY) + ) + return COMPLEX_ARRAY; + kind = PRIMITIVE_ARRAY; + } + } + return kind; + } + function addObjectToProperties(object, properties, indent) { + for (var key in object) + hasOwnProperty.call(object, key) && + "_" !== key[0] && + addValueToProperties(key, object[key], properties, indent); + } + function addValueToProperties(propertyName, value, properties, indent) { + switch (typeof value) { + case "object": + if (null === value) { + value = "null"; + break; + } else { + if (value.$$typeof === REACT_ELEMENT_TYPE) { + var typeName = getComponentNameFromType(value.type) || "\u2026", + key = value.key; + value = value.props; + var propsKeys = Object.keys(value), + propsLength = propsKeys.length; + if (null == key && 0 === propsLength) { + value = "<" + typeName + " />"; + break; + } + if ( + 3 > indent || + (1 === propsLength && + "children" === propsKeys[0] && + null == key) + ) { + value = "<" + typeName + " \u2026 />"; + break; + } + properties.push([ + "\u00a0\u00a0".repeat(indent) + propertyName, + "<" + typeName + ]); + null !== key && + addValueToProperties("key", key, properties, indent + 1); + propertyName = !1; + for (var propKey in value) + "children" === propKey + ? null != value.children && + (!isArrayImpl(value.children) || + 0 < value.children.length) && + (propertyName = !0) + : hasOwnProperty.call(value, propKey) && + "_" !== propKey[0] && + addValueToProperties( + propKey, + value[propKey], + properties, + indent + 1 + ); + properties.push([ + "", + propertyName ? ">\u2026" : "/>" + ]); + return; + } + typeName = Object.prototype.toString.call(value); + typeName = typeName.slice(8, typeName.length - 1); + if ("Array" === typeName) + if ( + ((propKey = getArrayKind(value)), + propKey === PRIMITIVE_ARRAY || propKey === EMPTY_ARRAY) + ) { + value = JSON.stringify(value); + break; + } else if (propKey === ENTRIES_ARRAY) { + properties.push([ + "\u00a0\u00a0".repeat(indent) + propertyName, + "" + ]); + for ( + propertyName = 0; + propertyName < value.length; + propertyName++ + ) + (typeName = value[propertyName]), + addValueToProperties( + typeName[0], + typeName[1], + properties, + indent + 1 + ); + return; + } + "Object" === typeName && + (propKey = Object.getPrototypeOf(value)) && + "function" === typeof propKey.constructor && + (typeName = propKey.constructor.name); + properties.push([ + "\u00a0\u00a0".repeat(indent) + propertyName, + "Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName + ]); + 3 > indent && addObjectToProperties(value, properties, indent + 1); + return; + } + case "function": + value = "" === value.name ? "() => {}" : value.name + "() {}"; + break; + case "string": + value = + value === OMITTED_PROP_ERROR ? "\u2026" : JSON.stringify(value); + break; + case "undefined": + value = "undefined"; + break; + case "boolean": + value = value ? "true" : "false"; + break; + default: + value = String(value); + } + properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]); + } function setCurrentTrackFromLanes(lanes) { currentTrack = lanes & 127 @@ -3970,6 +4111,10 @@ __DEV__ && : String(capturedValue) ]); } + null !== fiber.key && + addValueToProperties("key", fiber.key, properties, 0); + null !== fiber.memoizedProps && + addObjectToProperties(fiber.memoizedProps, properties, 0); null == debugTask && (debugTask = fiber._debugTask); fiber = { start: startTime, @@ -4023,6 +4168,10 @@ __DEV__ && : String(error) ]); } + null !== fiber.key && + addValueToProperties("key", fiber.key, selfTime, 0); + null !== fiber.memoizedProps && + addObjectToProperties(fiber.memoizedProps, selfTime, 0); startTime = { start: startTime, end: endTime, @@ -26070,6 +26219,12 @@ __DEV__ && } console.error(error); }, + OMITTED_PROP_ERROR = + "This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.", + EMPTY_ARRAY = 0, + COMPLEX_ARRAY = 1, + PRIMITIVE_ARRAY = 2, + ENTRIES_ARRAY = 3, supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp, @@ -28651,11 +28806,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-9b2a545b-20250625" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-d2a288fe-20250627" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-native-fb-9b2a545b-20250625\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-native-fb-d2a288fe-20250627\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -28692,10 +28847,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625" + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28833,5 +28988,5 @@ __DEV__ && listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.2.0-native-fb-9b2a545b-20250625"; + exports.version = "19.2.0-native-fb-d2a288fe-20250627"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js index 1e7672d43d..9a6b3879b3 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ /* @@ -17121,14 +17121,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2023 = React.version; if ( - "19.2.0-native-fb-9b2a545b-20250625" !== + "19.2.0-native-fb-d2a288fe-20250627" !== isomorphicReactPackageVersion$jscomp$inline_2023 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2023, - "19.2.0-native-fb-9b2a545b-20250625" + "19.2.0-native-fb-d2a288fe-20250627" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -17150,10 +17150,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2542 = { bundleType: 0, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625" + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2543 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17251,4 +17251,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-native-fb-9b2a545b-20250625"; +exports.version = "19.2.0-native-fb-d2a288fe-20250627"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js index 3fa31dbbdd..e2a66ef3df 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<0b0d2df6091656622e20f207eb80bdb3>> + * @generated SignedSource<> */ /* @@ -19053,14 +19053,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2261 = React.version; if ( - "19.2.0-native-fb-9b2a545b-20250625" !== + "19.2.0-native-fb-d2a288fe-20250627" !== isomorphicReactPackageVersion$jscomp$inline_2261 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2261, - "19.2.0-native-fb-9b2a545b-20250625" + "19.2.0-native-fb-d2a288fe-20250627" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -19082,10 +19082,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2268 = { bundleType: 0, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625", + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$331 = 0; @@ -19198,4 +19198,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-native-fb-9b2a545b-20250625"; +exports.version = "19.2.0-native-fb-d2a288fe-20250627"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js index 367819ea62..4c390ef66c 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<2c3e4cd93ab0da16c0cd7de008f0c9eb>> + * @generated SignedSource<<444544c412c344c68ea78789c663f5ed>> */ /* @@ -3870,6 +3870,147 @@ __DEV__ && topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]); } + function getArrayKind(array) { + for (var kind = EMPTY_ARRAY, i = 0; i < array.length; i++) { + var value = array[i]; + if ("object" === typeof value && null !== value) + if ( + isArrayImpl(value) && + 2 === value.length && + "string" === typeof value[0] + ) { + if (kind !== EMPTY_ARRAY && kind !== ENTRIES_ARRAY) + return COMPLEX_ARRAY; + kind = ENTRIES_ARRAY; + } else return COMPLEX_ARRAY; + else { + if ( + "function" === typeof value || + ("string" === typeof value && 50 < value.length) || + (kind !== EMPTY_ARRAY && kind !== PRIMITIVE_ARRAY) + ) + return COMPLEX_ARRAY; + kind = PRIMITIVE_ARRAY; + } + } + return kind; + } + function addObjectToProperties(object, properties, indent) { + for (var key in object) + hasOwnProperty.call(object, key) && + "_" !== key[0] && + addValueToProperties(key, object[key], properties, indent); + } + function addValueToProperties(propertyName, value, properties, indent) { + switch (typeof value) { + case "object": + if (null === value) { + value = "null"; + break; + } else { + if (value.$$typeof === REACT_ELEMENT_TYPE) { + var typeName = getComponentNameFromType(value.type) || "\u2026", + key = value.key; + value = value.props; + var propsKeys = Object.keys(value), + propsLength = propsKeys.length; + if (null == key && 0 === propsLength) { + value = "<" + typeName + " />"; + break; + } + if ( + 3 > indent || + (1 === propsLength && + "children" === propsKeys[0] && + null == key) + ) { + value = "<" + typeName + " \u2026 />"; + break; + } + properties.push([ + "\u00a0\u00a0".repeat(indent) + propertyName, + "<" + typeName + ]); + null !== key && + addValueToProperties("key", key, properties, indent + 1); + propertyName = !1; + for (var propKey in value) + "children" === propKey + ? null != value.children && + (!isArrayImpl(value.children) || + 0 < value.children.length) && + (propertyName = !0) + : hasOwnProperty.call(value, propKey) && + "_" !== propKey[0] && + addValueToProperties( + propKey, + value[propKey], + properties, + indent + 1 + ); + properties.push([ + "", + propertyName ? ">\u2026" : "/>" + ]); + return; + } + typeName = Object.prototype.toString.call(value); + typeName = typeName.slice(8, typeName.length - 1); + if ("Array" === typeName) + if ( + ((propKey = getArrayKind(value)), + propKey === PRIMITIVE_ARRAY || propKey === EMPTY_ARRAY) + ) { + value = JSON.stringify(value); + break; + } else if (propKey === ENTRIES_ARRAY) { + properties.push([ + "\u00a0\u00a0".repeat(indent) + propertyName, + "" + ]); + for ( + propertyName = 0; + propertyName < value.length; + propertyName++ + ) + (typeName = value[propertyName]), + addValueToProperties( + typeName[0], + typeName[1], + properties, + indent + 1 + ); + return; + } + "Object" === typeName && + (propKey = Object.getPrototypeOf(value)) && + "function" === typeof propKey.constructor && + (typeName = propKey.constructor.name); + properties.push([ + "\u00a0\u00a0".repeat(indent) + propertyName, + "Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName + ]); + 3 > indent && addObjectToProperties(value, properties, indent + 1); + return; + } + case "function": + value = "" === value.name ? "() => {}" : value.name + "() {}"; + break; + case "string": + value = + value === OMITTED_PROP_ERROR ? "\u2026" : JSON.stringify(value); + break; + case "undefined": + value = "undefined"; + break; + case "boolean": + value = value ? "true" : "false"; + break; + default: + value = String(value); + } + properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]); + } function setCurrentTrackFromLanes(lanes) { currentTrack = lanes & 127 @@ -3978,6 +4119,10 @@ __DEV__ && : String(capturedValue) ]); } + null !== fiber.key && + addValueToProperties("key", fiber.key, properties, 0); + null !== fiber.memoizedProps && + addObjectToProperties(fiber.memoizedProps, properties, 0); null == debugTask && (debugTask = fiber._debugTask); fiber = { start: startTime, @@ -4031,6 +4176,10 @@ __DEV__ && : String(error) ]); } + null !== fiber.key && + addValueToProperties("key", fiber.key, selfTime, 0); + null !== fiber.memoizedProps && + addObjectToProperties(fiber.memoizedProps, selfTime, 0); startTime = { start: startTime, end: endTime, @@ -26126,6 +26275,12 @@ __DEV__ && } console.error(error); }, + OMITTED_PROP_ERROR = + "This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.", + EMPTY_ARRAY = 0, + COMPLEX_ARRAY = 1, + PRIMITIVE_ARRAY = 2, + ENTRIES_ARRAY = 3, supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp, @@ -28707,11 +28862,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-9b2a545b-20250625" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-d2a288fe-20250627" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-native-fb-9b2a545b-20250625\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-native-fb-d2a288fe-20250627\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -28748,10 +28903,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625" + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -29205,7 +29360,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-native-fb-9b2a545b-20250625"; + exports.version = "19.2.0-native-fb-d2a288fe-20250627"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js index 91e04f4e13..497e8e1bec 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<0d4eb1d709bd1629895e66144c92d77b>> + * @generated SignedSource<<8bae5fcacbbefe3c235aa34848c1fe12>> */ /* @@ -17132,14 +17132,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2024 = React.version; if ( - "19.2.0-native-fb-9b2a545b-20250625" !== + "19.2.0-native-fb-d2a288fe-20250627" !== isomorphicReactPackageVersion$jscomp$inline_2024 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2024, - "19.2.0-native-fb-9b2a545b-20250625" + "19.2.0-native-fb-d2a288fe-20250627" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -17161,10 +17161,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2545 = { bundleType: 0, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625" + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2546 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17415,4 +17415,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-9b2a545b-20250625"; +exports.version = "19.2.0-native-fb-d2a288fe-20250627"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js index b73681b80e..4880c898d6 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<0871f654c0cc239f1939cf9c707cb1ce>> + * @generated SignedSource<> */ /* @@ -19068,14 +19068,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2262 = React.version; if ( - "19.2.0-native-fb-9b2a545b-20250625" !== + "19.2.0-native-fb-d2a288fe-20250627" !== isomorphicReactPackageVersion$jscomp$inline_2262 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2262, - "19.2.0-native-fb-9b2a545b-20250625" + "19.2.0-native-fb-d2a288fe-20250627" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -19097,10 +19097,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2269 = { bundleType: 0, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625", + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$331 = 0; @@ -19366,7 +19366,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-9b2a545b-20250625"; +exports.version = "19.2.0-native-fb-d2a288fe-20250627"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js index 5a2b9fb097..4a4dc83703 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<8c671086a9b60571ed0a98867b1788ed>> + * @generated SignedSource<<6baf023a528bd4df1f214fef4f9cb0b2>> */ "use strict"; @@ -13845,6 +13845,7 @@ __DEV__ && } console.error(error); }, + hasOwnProperty = Object.prototype.hasOwnProperty, disabledDepth = 0, prevLog, prevInfo, @@ -13935,7 +13936,6 @@ __DEV__ && prevOnStartTransitionFinish(transition, returnValue); }; var resumedCache = createCursor(null), - hasOwnProperty = Object.prototype.hasOwnProperty, ReactStrictModeWarnings = { recordUnsafeLifecycleWarnings: function () {}, flushPendingUnsafeLifecycleWarnings: function () {}, @@ -15722,10 +15722,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625" + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15870,5 +15870,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.2.0-native-fb-9b2a545b-20250625"; + exports.version = "19.2.0-native-fb-d2a288fe-20250627"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js index 0465fd783b..aca9b461dc 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<97cbb346ddd2b1bcb00e8360a1ef82bf>> + * @generated SignedSource<> */ "use strict"; @@ -777,6 +777,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is, } console.error(error); }, + hasOwnProperty = Object.prototype.hasOwnProperty, prefix, suffix; function describeBuiltInComponentFrame(name) { @@ -1520,7 +1521,6 @@ function getSuspendedCache() { ? null : { parent: CacheContext._currentValue2, pool: cacheFromPool }; } -var hasOwnProperty = Object.prototype.hasOwnProperty; function shallowEqual(objA, objB) { if (objectIs(objA, objB)) return !0; if ( @@ -9905,10 +9905,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1453 = { bundleType: 0, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625" + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1454 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10044,4 +10044,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.2.0-native-fb-9b2a545b-20250625"; +exports.version = "19.2.0-native-fb-d2a288fe-20250627"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js index e4694c3682..f5f566177e 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<0f9c486840bf4438d803b6b4760b1522>> */ "use strict"; @@ -825,6 +825,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is, } console.error(error); }, + hasOwnProperty = Object.prototype.hasOwnProperty, prefix, suffix; function describeBuiltInComponentFrame(name) { @@ -1636,7 +1637,6 @@ function getSuspendedCache() { ? null : { parent: CacheContext._currentValue2, pool: cacheFromPool }; } -var hasOwnProperty = Object.prototype.hasOwnProperty; function shallowEqual(objA, objB) { if (objectIs(objA, objB)) return !0; if ( @@ -10525,10 +10525,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1260 = { bundleType: 0, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625", + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$155 = 0; @@ -10679,4 +10679,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.2.0-native-fb-9b2a545b-20250625"; +exports.version = "19.2.0-native-fb-d2a288fe-20250627"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js index 91f54f615b..8e6bc2fd31 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -1413,7 +1413,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-native-fb-9b2a545b-20250625"; + exports.version = "19.2.0-native-fb-d2a288fe-20250627"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js index 4752e2e8bb..0f04692ae3 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<38daa3796e4d48ffaf96d31eb54a75e1>> + * @generated SignedSource<<6aff2a852435afff03039a25a5cf15e4>> */ "use strict"; @@ -589,4 +589,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-native-fb-9b2a545b-20250625"; +exports.version = "19.2.0-native-fb-d2a288fe-20250627"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js index c18fc2bd32..586f2cd977 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<42c6b09a1691d2b650f78419fe460786>> + * @generated SignedSource<<6060bc0e3f53788296519e446c79636e>> */ "use strict"; @@ -593,7 +593,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-native-fb-9b2a545b-20250625"; +exports.version = "19.2.0-native-fb-d2a288fe-20250627"; "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 409651d5c9..18dff4f800 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 @@ -9b2a545b32ef19c6b67812d2c3444a709406a58b +d2a288febf61a1755b78ce98b3cb17dd412b81e3 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 d9ffcaa0d4..b1095338f7 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<> + * @generated SignedSource<<4b617b15c74b177d965a8ea2b97671e2>> */ "use strict"; @@ -1984,6 +1984,149 @@ __DEV__ && function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } + function getArrayKind(array) { + for (var kind = 0, i = 0; i < array.length; i++) { + var value = array[i]; + if ("object" === typeof value && null !== value) + if ( + isArrayImpl(value) && + 2 === value.length && + "string" === typeof value[0] + ) { + if (0 !== kind && 3 !== kind) return 1; + kind = 3; + } else return 1; + else { + if ( + "function" === typeof value || + ("string" === typeof value && 50 < value.length) || + (0 !== kind && 2 !== kind) + ) + return 1; + kind = 2; + } + } + return kind; + } + function addObjectToProperties(object, properties, indent) { + for (var key in object) + hasOwnProperty.call(object, key) && + "_" !== key[0] && + addValueToProperties(key, object[key], properties, indent); + } + function addValueToProperties(propertyName, value, properties, indent) { + switch (typeof value) { + case "object": + if (null === value) { + value = "null"; + break; + } else { + if (value.$$typeof === REACT_ELEMENT_TYPE) { + var typeName = getComponentNameFromType(value.type) || "\u2026", + key = value.key; + value = value.props; + var propsKeys = Object.keys(value), + propsLength = propsKeys.length; + if (null == key && 0 === propsLength) { + value = "<" + typeName + " />"; + break; + } + if ( + 3 > indent || + (1 === propsLength && + "children" === propsKeys[0] && + null == key) + ) { + value = "<" + typeName + " \u2026 />"; + break; + } + properties.push([ + "\u00a0\u00a0".repeat(indent) + propertyName, + "<" + typeName + ]); + null !== key && + addValueToProperties("key", key, properties, indent + 1); + propertyName = !1; + for (var propKey in value) + "children" === propKey + ? null != value.children && + (!isArrayImpl(value.children) || + 0 < value.children.length) && + (propertyName = !0) + : hasOwnProperty.call(value, propKey) && + "_" !== propKey[0] && + addValueToProperties( + propKey, + value[propKey], + properties, + indent + 1 + ); + properties.push([ + "", + propertyName ? ">\u2026" : "/>" + ]); + return; + } + typeName = Object.prototype.toString.call(value); + typeName = typeName.slice(8, typeName.length - 1); + if ("Array" === typeName) + if ( + ((propKey = getArrayKind(value)), + 2 === propKey || 0 === propKey) + ) { + value = JSON.stringify(value); + break; + } else if (3 === propKey) { + properties.push([ + "\u00a0\u00a0".repeat(indent) + propertyName, + "" + ]); + for ( + propertyName = 0; + propertyName < value.length; + propertyName++ + ) + (typeName = value[propertyName]), + addValueToProperties( + typeName[0], + typeName[1], + properties, + indent + 1 + ); + return; + } + "Object" === typeName && + (propKey = Object.getPrototypeOf(value)) && + "function" === typeof propKey.constructor && + (typeName = propKey.constructor.name); + properties.push([ + "\u00a0\u00a0".repeat(indent) + propertyName, + "Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName + ]); + 3 > indent && addObjectToProperties(value, properties, indent + 1); + return; + } + case "function": + value = "" === value.name ? "() => {}" : value.name + "() {}"; + break; + case "string": + value = + "This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects." === + value + ? "\u2026" + : JSON.stringify(value); + break; + case "undefined": + value = "undefined"; + break; + case "boolean": + value = value ? "true" : "false"; + break; + default: + value = String(value); + } + properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]); + } function setCurrentTrackFromLanes(lanes) { currentTrack = lanes & 127 @@ -2092,6 +2235,10 @@ __DEV__ && : String(capturedValue) ]); } + null !== fiber.key && + addValueToProperties("key", fiber.key, properties, 0); + null !== fiber.memoizedProps && + addObjectToProperties(fiber.memoizedProps, properties, 0); null == debugTask && (debugTask = fiber._debugTask); fiber = { start: startTime, @@ -2145,6 +2292,10 @@ __DEV__ && : String(error) ]); } + null !== fiber.key && + addValueToProperties("key", fiber.key, selfTime, 0); + null !== fiber.memoizedProps && + addObjectToProperties(fiber.memoizedProps, selfTime, 0); startTime = { start: startTime, end: endTime, @@ -16800,6 +16951,7 @@ __DEV__ && } console.error(error); }, + hasOwnProperty = Object.prototype.hasOwnProperty, supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp, @@ -16920,7 +17072,6 @@ __DEV__ && prevOnStartTransitionFinish(transition, returnValue); }; var resumedCache = createCursor(null), - hasOwnProperty = Object.prototype.hasOwnProperty, ReactStrictModeWarnings = { recordUnsafeLifecycleWarnings: function () {}, flushPendingUnsafeLifecycleWarnings: function () {}, @@ -18875,10 +19026,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625" + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); 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 d35765808b..af2d6c5ba4 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<<3b2b558b0f53bb44eda50c63a6813755>> + * @generated SignedSource<<02e4bc0a247bcc2fae03f4320b37655d>> */ "use strict"; @@ -1967,6 +1967,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is, } console.error(error); }, + hasOwnProperty = Object.prototype.hasOwnProperty, CapturedStacks = new WeakMap(); function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { @@ -2533,7 +2534,6 @@ function getSuspendedCache() { ? null : { parent: CacheContext._currentValue2, pool: cacheFromPool }; } -var hasOwnProperty = Object.prototype.hasOwnProperty; function shallowEqual(objA, objB) { if (objectIs(objA, objB)) return !0; if ( @@ -11029,10 +11029,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1257 = { bundleType: 0, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625" + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1257.rendererConfig = extraDevToolsConfig); 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 d90be5afe0..33b5dc3e60 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<<2e72debd304412209eef28fe72c1b611>> + * @generated SignedSource<<12db920ecc8365f81d0133beb896453f>> */ "use strict"; @@ -2051,6 +2051,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is, } console.error(error); }, + hasOwnProperty = Object.prototype.hasOwnProperty, supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp, currentTrack = "Blocking"; @@ -2923,7 +2924,6 @@ function getSuspendedCache() { ? null : { parent: CacheContext._currentValue2, pool: cacheFromPool }; } -var hasOwnProperty = Object.prototype.hasOwnProperty; function shallowEqual(objA, objB) { if (objectIs(objA, objB)) return !0; if ( @@ -12932,10 +12932,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1490 = { bundleType: 0, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625" + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1490.rendererConfig = extraDevToolsConfig); 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 3c0d5b328d..9081cad3f7 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<> + * @generated SignedSource<> */ "use strict"; @@ -2349,6 +2349,149 @@ __DEV__ && function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } + function getArrayKind(array) { + for (var kind = 0, i = 0; i < array.length; i++) { + var value = array[i]; + if ("object" === typeof value && null !== value) + if ( + isArrayImpl(value) && + 2 === value.length && + "string" === typeof value[0] + ) { + if (0 !== kind && 3 !== kind) return 1; + kind = 3; + } else return 1; + else { + if ( + "function" === typeof value || + ("string" === typeof value && 50 < value.length) || + (0 !== kind && 2 !== kind) + ) + return 1; + kind = 2; + } + } + return kind; + } + function addObjectToProperties(object, properties, indent) { + for (var key in object) + hasOwnProperty.call(object, key) && + "_" !== key[0] && + addValueToProperties(key, object[key], properties, indent); + } + function addValueToProperties(propertyName, value, properties, indent) { + switch (typeof value) { + case "object": + if (null === value) { + value = "null"; + break; + } else { + if (value.$$typeof === REACT_ELEMENT_TYPE) { + var typeName = getComponentNameFromType(value.type) || "\u2026", + key = value.key; + value = value.props; + var propsKeys = Object.keys(value), + propsLength = propsKeys.length; + if (null == key && 0 === propsLength) { + value = "<" + typeName + " />"; + break; + } + if ( + 3 > indent || + (1 === propsLength && + "children" === propsKeys[0] && + null == key) + ) { + value = "<" + typeName + " \u2026 />"; + break; + } + properties.push([ + "\u00a0\u00a0".repeat(indent) + propertyName, + "<" + typeName + ]); + null !== key && + addValueToProperties("key", key, properties, indent + 1); + propertyName = !1; + for (var propKey in value) + "children" === propKey + ? null != value.children && + (!isArrayImpl(value.children) || + 0 < value.children.length) && + (propertyName = !0) + : hasOwnProperty.call(value, propKey) && + "_" !== propKey[0] && + addValueToProperties( + propKey, + value[propKey], + properties, + indent + 1 + ); + properties.push([ + "", + propertyName ? ">\u2026" : "/>" + ]); + return; + } + typeName = Object.prototype.toString.call(value); + typeName = typeName.slice(8, typeName.length - 1); + if ("Array" === typeName) + if ( + ((propKey = getArrayKind(value)), + 2 === propKey || 0 === propKey) + ) { + value = JSON.stringify(value); + break; + } else if (3 === propKey) { + properties.push([ + "\u00a0\u00a0".repeat(indent) + propertyName, + "" + ]); + for ( + propertyName = 0; + propertyName < value.length; + propertyName++ + ) + (typeName = value[propertyName]), + addValueToProperties( + typeName[0], + typeName[1], + properties, + indent + 1 + ); + return; + } + "Object" === typeName && + (propKey = Object.getPrototypeOf(value)) && + "function" === typeof propKey.constructor && + (typeName = propKey.constructor.name); + properties.push([ + "\u00a0\u00a0".repeat(indent) + propertyName, + "Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName + ]); + 3 > indent && addObjectToProperties(value, properties, indent + 1); + return; + } + case "function": + value = "" === value.name ? "() => {}" : value.name + "() {}"; + break; + case "string": + value = + "This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects." === + value + ? "\u2026" + : JSON.stringify(value); + break; + case "undefined": + value = "undefined"; + break; + case "boolean": + value = value ? "true" : "false"; + break; + default: + value = String(value); + } + properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]); + } function setCurrentTrackFromLanes(lanes) { currentTrack = lanes & 127 @@ -2457,6 +2600,10 @@ __DEV__ && : String(capturedValue) ]); } + null !== fiber.key && + addValueToProperties("key", fiber.key, properties, 0); + null !== fiber.memoizedProps && + addObjectToProperties(fiber.memoizedProps, properties, 0); null == debugTask && (debugTask = fiber._debugTask); fiber = { start: startTime, @@ -2510,6 +2657,10 @@ __DEV__ && : String(error) ]); } + null !== fiber.key && + addValueToProperties("key", fiber.key, selfTime, 0); + null !== fiber.memoizedProps && + addObjectToProperties(fiber.memoizedProps, selfTime, 0); startTime = { start: startTime, end: endTime, @@ -17415,6 +17566,7 @@ __DEV__ && } console.error(error); }, + hasOwnProperty = Object.prototype.hasOwnProperty, supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp, @@ -17536,7 +17688,6 @@ __DEV__ && prevOnStartTransitionFinish(transition, returnValue); }; var resumedCache = createCursor(null), - hasOwnProperty = Object.prototype.hasOwnProperty, ReactStrictModeWarnings = { recordUnsafeLifecycleWarnings: function () {}, flushPendingUnsafeLifecycleWarnings: function () {}, @@ -19208,11 +19359,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-9b2a545b-20250625" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-d2a288fe-20250627" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.2.0-native-fb-9b2a545b-20250625\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-d2a288fe-20250627\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -19238,10 +19389,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625" + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); 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 143b6e271a..a803c6768e 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<<50d842831d8ed762cafb7c1a2f528f34>> + * @generated SignedSource<> */ "use strict"; @@ -2357,6 +2357,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is, } console.error(error); }, + hasOwnProperty = Object.prototype.hasOwnProperty, CapturedStacks = new WeakMap(); function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { @@ -2923,7 +2924,6 @@ function getSuspendedCache() { ? null : { parent: CacheContext._currentValue, pool: cacheFromPool }; } -var hasOwnProperty = Object.prototype.hasOwnProperty; function shallowEqual(objA, objB) { if (objectIs(objA, objB)) return !0; if ( @@ -11221,11 +11221,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.2.0-native-fb-9b2a545b-20250625" !== isomorphicReactPackageVersion) +if ("19.2.0-native-fb-d2a288fe-20250627" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.2.0-native-fb-9b2a545b-20250625\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-d2a288fe-20250627\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11275,10 +11275,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1313 = { bundleType: 0, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625" + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1313.rendererConfig = extraDevToolsConfig); 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 085fe55d67..6c87714d8d 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<> + * @generated SignedSource<<543dff89d49955e26d2eb7c3f7a76773>> */ "use strict"; @@ -2441,6 +2441,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is, } console.error(error); }, + hasOwnProperty = Object.prototype.hasOwnProperty, supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp, currentTrack = "Blocking"; @@ -3310,7 +3311,6 @@ function getSuspendedCache() { ? null : { parent: CacheContext._currentValue, pool: cacheFromPool }; } -var hasOwnProperty = Object.prototype.hasOwnProperty; function shallowEqual(objA, objB) { if (objectIs(objA, objB)) return !0; if ( @@ -13113,11 +13113,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.2.0-native-fb-9b2a545b-20250625" !== isomorphicReactPackageVersion) +if ("19.2.0-native-fb-d2a288fe-20250627" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.2.0-native-fb-9b2a545b-20250625\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-d2a288fe-20250627\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -13167,10 +13167,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1546 = { bundleType: 0, - version: "19.2.0-native-fb-9b2a545b-20250625", + version: "19.2.0-native-fb-d2a288fe-20250627", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625" + reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1546.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json b/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json index 88cb445754..3dcc1d96ab 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json +++ b/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json @@ -1,7 +1,7 @@ { "name": "eslint-plugin-react-hooks", "description": "ESLint rules for React Hooks", - "version": "0.0.0-experimental-9b2a545b-20250625", + "version": "0.0.0-experimental-d2a288fe-20250627", "repository": { "type": "git", "url": "https://github.com/facebook/react.git",