Performance Tracks: log properties diff for renders in DEV if no console task available (#34370)

React Native doesn't support `console.createTask` yet, but it does
support `performance.measure` and extensibility APIs for Performance
panel, including `detail.devtools` field.

Previously, this logic was gated with `if (__DEV__ && debugTask)`, now
`debugTask` is no longer required to log render. If there is no console
task, we will just call `performance.measure(...)`. The same pattern is
used in other reporters.

DiffTrain build for [2805f0ed9e](https://github.com/facebook/react/commit/2805f0ed9e702454527839c0076a9979553c2fd7)
This commit is contained in:
hoxyq
2025-09-03 09:14:33 -07:00
parent af3f7fe348
commit 87fce6e2f0
24 changed files with 295 additions and 291 deletions
+1 -1
View File
@@ -1 +1 @@
19.2.0-native-fb-bb6f0c8d-20250901
19.2.0-native-fb-2805f0ed-20250903
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e876e606db7ca8224b43be25836f117f>>
* @generated SignedSource<<2a251f735691d41de05784cc3922bd3a>>
*/
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<958a357ed5f3eade319ef3a2f6640143>>
* @generated SignedSource<<23caf0525b005a476914b4fd14108776>>
*/
"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-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<958a357ed5f3eade319ef3a2f6640143>>
* @generated SignedSource<<23caf0525b005a476914b4fd14108776>>
*/
"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-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<8f539bb0fa1f083ef4c2c5e0d10544c5>>
* @generated SignedSource<<76e95f19615b4740edabb34d6145f5c8>>
*/
/*
@@ -4234,64 +4234,65 @@ __DEV__ &&
? "tertiary-dark"
: "primary-dark"
: "error";
if ((selfTime = fiber._debugTask)) {
var props = fiber.memoizedProps;
if (
null !== props &&
null !== alternate &&
alternate.memoizedProps !== props &&
((child = [resuableChangedPropsEntry]),
var props = fiber.memoizedProps;
selfTime = fiber._debugTask;
null !== props &&
null !== alternate &&
alternate.memoizedProps !== props
? ((child = [resuableChangedPropsEntry]),
(props = addObjectDiffToProperties(
alternate.memoizedProps,
props,
child,
0
)),
1 < child.length)
) {
props &&
!alreadyWarnedForDeepEquality &&
0 === (alternate.lanes & committedLanes) &&
100 < fiber.actualDuration
? ((alreadyWarnedForDeepEquality = !0),
(child[0] = reusableDeeplyEqualPropsEntry),
(reusableComponentDevToolDetails.color = "warning"),
(reusableComponentDevToolDetails.tooltipText =
DEEP_EQUALITY_WARNING))
: ((reusableComponentDevToolDetails.color = wasHydrated),
(reusableComponentDevToolDetails.tooltipText = name));
reusableComponentDevToolDetails.properties = child;
reusableComponentOptions.start = startTime;
reusableComponentOptions.end = endTime;
selfTime.run(
performance.measure.bind(
performance,
"\u200b" + name,
reusableComponentOptions
1 < child.length &&
(props &&
!alreadyWarnedForDeepEquality &&
0 === (alternate.lanes & committedLanes) &&
100 < fiber.actualDuration
? ((alreadyWarnedForDeepEquality = !0),
(child[0] = reusableDeeplyEqualPropsEntry),
(reusableComponentDevToolDetails.color = "warning"),
(reusableComponentDevToolDetails.tooltipText =
DEEP_EQUALITY_WARNING))
: ((reusableComponentDevToolDetails.color = wasHydrated),
(reusableComponentDevToolDetails.tooltipText = name)),
(reusableComponentDevToolDetails.properties = child),
(reusableComponentOptions.start = startTime),
(reusableComponentOptions.end = endTime),
null != selfTime
? selfTime.run(
performance.measure.bind(
performance,
"\u200b" + name,
reusableComponentOptions
)
)
: performance.measure(
"\u200b" + name,
reusableComponentOptions
)))
: null != selfTime
? selfTime.run(
console.timeStamp.bind(
console,
name,
startTime,
endTime,
COMPONENTS_TRACK,
void 0,
wasHydrated
)
)
);
return;
}
selfTime.run(
console.timeStamp.bind(
console,
name,
startTime,
endTime,
COMPONENTS_TRACK,
void 0,
wasHydrated
)
);
} else
console.timeStamp(
name,
startTime,
endTime,
COMPONENTS_TRACK,
void 0,
wasHydrated
);
: console.timeStamp(
name,
startTime,
endTime,
COMPONENTS_TRACK,
void 0,
wasHydrated
);
}
}
function logComponentErrored(fiber, startTime, endTime, errors) {
@@ -29448,11 +29449,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-bb6f0c8d-20250901" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-2805f0ed-20250903" !== 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-bb6f0c8d-20250901\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-2805f0ed-20250903\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -29489,10 +29490,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901"
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29631,5 +29632,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<c5292eb450f33c43f57a717e9213a42f>>
* @generated SignedSource<<bbe3ada10ca96589d498c27ba8b3e29f>>
*/
/*
@@ -17258,14 +17258,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2034 = React.version;
if (
"19.2.0-native-fb-bb6f0c8d-20250901" !==
"19.2.0-native-fb-2805f0ed-20250903" !==
isomorphicReactPackageVersion$jscomp$inline_2034
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2034,
"19.2.0-native-fb-bb6f0c8d-20250901"
"19.2.0-native-fb-2805f0ed-20250903"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17287,10 +17287,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2565 = {
bundleType: 0,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901"
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2566 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17388,4 +17388,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<7adfa1270c9241818b952d4792febc3f>>
* @generated SignedSource<<e0bb0e8e252841c6f3d75d468c711aac>>
*/
/*
@@ -19268,14 +19268,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2285 = React.version;
if (
"19.2.0-native-fb-bb6f0c8d-20250901" !==
"19.2.0-native-fb-2805f0ed-20250903" !==
isomorphicReactPackageVersion$jscomp$inline_2285
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2285,
"19.2.0-native-fb-bb6f0c8d-20250901"
"19.2.0-native-fb-2805f0ed-20250903"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19297,10 +19297,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2292 = {
bundleType: 0,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901",
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$321 = 0;
@@ -19414,4 +19414,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<9585ea77a64ddf13e8429b08cb578cae>>
* @generated SignedSource<<b45ec6107d53f97e4390d042f43acf58>>
*/
/*
@@ -4242,64 +4242,65 @@ __DEV__ &&
? "tertiary-dark"
: "primary-dark"
: "error";
if ((selfTime = fiber._debugTask)) {
var props = fiber.memoizedProps;
if (
null !== props &&
null !== alternate &&
alternate.memoizedProps !== props &&
((child = [resuableChangedPropsEntry]),
var props = fiber.memoizedProps;
selfTime = fiber._debugTask;
null !== props &&
null !== alternate &&
alternate.memoizedProps !== props
? ((child = [resuableChangedPropsEntry]),
(props = addObjectDiffToProperties(
alternate.memoizedProps,
props,
child,
0
)),
1 < child.length)
) {
props &&
!alreadyWarnedForDeepEquality &&
0 === (alternate.lanes & committedLanes) &&
100 < fiber.actualDuration
? ((alreadyWarnedForDeepEquality = !0),
(child[0] = reusableDeeplyEqualPropsEntry),
(reusableComponentDevToolDetails.color = "warning"),
(reusableComponentDevToolDetails.tooltipText =
DEEP_EQUALITY_WARNING))
: ((reusableComponentDevToolDetails.color = wasHydrated),
(reusableComponentDevToolDetails.tooltipText = name));
reusableComponentDevToolDetails.properties = child;
reusableComponentOptions.start = startTime;
reusableComponentOptions.end = endTime;
selfTime.run(
performance.measure.bind(
performance,
"\u200b" + name,
reusableComponentOptions
1 < child.length &&
(props &&
!alreadyWarnedForDeepEquality &&
0 === (alternate.lanes & committedLanes) &&
100 < fiber.actualDuration
? ((alreadyWarnedForDeepEquality = !0),
(child[0] = reusableDeeplyEqualPropsEntry),
(reusableComponentDevToolDetails.color = "warning"),
(reusableComponentDevToolDetails.tooltipText =
DEEP_EQUALITY_WARNING))
: ((reusableComponentDevToolDetails.color = wasHydrated),
(reusableComponentDevToolDetails.tooltipText = name)),
(reusableComponentDevToolDetails.properties = child),
(reusableComponentOptions.start = startTime),
(reusableComponentOptions.end = endTime),
null != selfTime
? selfTime.run(
performance.measure.bind(
performance,
"\u200b" + name,
reusableComponentOptions
)
)
: performance.measure(
"\u200b" + name,
reusableComponentOptions
)))
: null != selfTime
? selfTime.run(
console.timeStamp.bind(
console,
name,
startTime,
endTime,
COMPONENTS_TRACK,
void 0,
wasHydrated
)
)
);
return;
}
selfTime.run(
console.timeStamp.bind(
console,
name,
startTime,
endTime,
COMPONENTS_TRACK,
void 0,
wasHydrated
)
);
} else
console.timeStamp(
name,
startTime,
endTime,
COMPONENTS_TRACK,
void 0,
wasHydrated
);
: console.timeStamp(
name,
startTime,
endTime,
COMPONENTS_TRACK,
void 0,
wasHydrated
);
}
}
function logComponentErrored(fiber, startTime, endTime, errors) {
@@ -29504,11 +29505,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-bb6f0c8d-20250901" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-2805f0ed-20250903" !== 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-bb6f0c8d-20250901\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-2805f0ed-20250903\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -29545,10 +29546,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901"
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30003,7 +30004,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<719f559095763380fd9aca1588422d5e>>
* @generated SignedSource<<95e4d0480a5d2f7f55fc7e6d74ca034f>>
*/
/*
@@ -17269,14 +17269,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2035 = React.version;
if (
"19.2.0-native-fb-bb6f0c8d-20250901" !==
"19.2.0-native-fb-2805f0ed-20250903" !==
isomorphicReactPackageVersion$jscomp$inline_2035
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2035,
"19.2.0-native-fb-bb6f0c8d-20250901"
"19.2.0-native-fb-2805f0ed-20250903"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17298,10 +17298,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2568 = {
bundleType: 0,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901"
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2569 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17552,4 +17552,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<313b82b51b0919974e5730346ccaf07d>>
* @generated SignedSource<<1788ea300fed387ea8d96a6daa016d28>>
*/
/*
@@ -19283,14 +19283,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2286 = React.version;
if (
"19.2.0-native-fb-bb6f0c8d-20250901" !==
"19.2.0-native-fb-2805f0ed-20250903" !==
isomorphicReactPackageVersion$jscomp$inline_2286
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2286,
"19.2.0-native-fb-bb6f0c8d-20250901"
"19.2.0-native-fb-2805f0ed-20250903"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19312,10 +19312,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2293 = {
bundleType: 0,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901",
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$321 = 0;
@@ -19582,7 +19582,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<2aa5a1ac8ff49d06eb1209f696f2395c>>
* @generated SignedSource<<c9a2e2e504980e83052d802b3888e75e>>
*/
"use strict";
@@ -15758,10 +15758,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901"
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15906,5 +15906,5 @@ __DEV__ &&
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<8876031c0d041fa892cdb2cc0ba9ef31>>
* @generated SignedSource<<3b21b5375f9e689d8e81ef874cc27fb6>>
*/
"use strict";
@@ -9924,10 +9924,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1428 = {
bundleType: 0,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901"
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1429 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10063,4 +10063,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<cc64c04e63cd81fe28f8ab4ca4a95763>>
* @generated SignedSource<<532dec7cefd62fd249d0ced36671fb84>>
*/
"use strict";
@@ -10544,10 +10544,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1236 = {
bundleType: 0,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901",
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$142 = 0;
@@ -10698,4 +10698,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<261dc1fcf94b55e9bd524a7be59a5343>>
* @generated SignedSource<<c09f12c1a8e24de89995e44ac3df86a0>>
*/
"use strict";
@@ -1397,7 +1397,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-native-fb-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f3ebab3d76b97b9e033f137729de7ee9>>
* @generated SignedSource<<d938fae36429a3e8a1db53b4a33f3a98>>
*/
"use strict";
@@ -579,4 +579,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<36c0f7fe07c48f98c93afaa5aba86b34>>
* @generated SignedSource<<4dde6d8ec9b586d0c81459e9dd3740ce>>
*/
"use strict";
@@ -583,7 +583,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-bb6f0c8d-20250901";
exports.version = "19.2.0-native-fb-2805f0ed-20250903";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
bb6f0c8d2f29754347db0ff28186dc89c128b6ca
2805f0ed9e702454527839c0076a9979553c2fd7
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<a127dbfa91020692f97f90f66a7dd30b>>
* @generated SignedSource<<b3c84356bcf5dc32f7d500c27cb4bd0d>>
*/
"use strict";
@@ -2359,64 +2359,65 @@ __DEV__ &&
? "tertiary-dark"
: "primary-dark"
: "error";
if ((selfTime = fiber._debugTask)) {
var props = fiber.memoizedProps;
if (
null !== props &&
null !== alternate &&
alternate.memoizedProps !== props &&
((child = [resuableChangedPropsEntry]),
var props = fiber.memoizedProps;
selfTime = fiber._debugTask;
null !== props &&
null !== alternate &&
alternate.memoizedProps !== props
? ((child = [resuableChangedPropsEntry]),
(props = addObjectDiffToProperties(
alternate.memoizedProps,
props,
child,
0
)),
1 < child.length)
) {
props &&
!alreadyWarnedForDeepEquality &&
0 === (alternate.lanes & committedLanes) &&
100 < fiber.actualDuration
? ((alreadyWarnedForDeepEquality = !0),
(child[0] = reusableDeeplyEqualPropsEntry),
(reusableComponentDevToolDetails.color = "warning"),
(reusableComponentDevToolDetails.tooltipText =
"This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner."))
: ((reusableComponentDevToolDetails.color = wasHydrated),
(reusableComponentDevToolDetails.tooltipText = name));
reusableComponentDevToolDetails.properties = child;
reusableComponentOptions.start = startTime;
reusableComponentOptions.end = endTime;
selfTime.run(
performance.measure.bind(
performance,
"\u200b" + name,
reusableComponentOptions
1 < child.length &&
(props &&
!alreadyWarnedForDeepEquality &&
0 === (alternate.lanes & committedLanes) &&
100 < fiber.actualDuration
? ((alreadyWarnedForDeepEquality = !0),
(child[0] = reusableDeeplyEqualPropsEntry),
(reusableComponentDevToolDetails.color = "warning"),
(reusableComponentDevToolDetails.tooltipText =
"This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner."))
: ((reusableComponentDevToolDetails.color = wasHydrated),
(reusableComponentDevToolDetails.tooltipText = name)),
(reusableComponentDevToolDetails.properties = child),
(reusableComponentOptions.start = startTime),
(reusableComponentOptions.end = endTime),
null != selfTime
? selfTime.run(
performance.measure.bind(
performance,
"\u200b" + name,
reusableComponentOptions
)
)
: performance.measure(
"\u200b" + name,
reusableComponentOptions
)))
: null != selfTime
? selfTime.run(
console.timeStamp.bind(
console,
name,
startTime,
endTime,
"Components \u269b",
void 0,
wasHydrated
)
)
);
return;
}
selfTime.run(
console.timeStamp.bind(
console,
name,
startTime,
endTime,
"Components \u269b",
void 0,
wasHydrated
)
);
} else
console.timeStamp(
name,
startTime,
endTime,
"Components \u269b",
void 0,
wasHydrated
);
: console.timeStamp(
name,
startTime,
endTime,
"Components \u269b",
void 0,
wasHydrated
);
}
}
function logComponentErrored(fiber, startTime, endTime, errors) {
@@ -19594,10 +19595,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901"
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<7ef4dacba229967cee05c7f6d782e087>>
* @generated SignedSource<<dee4fa1c17f47dd62ee038b4682b0a1f>>
*/
"use strict";
@@ -11108,10 +11108,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1260 = {
bundleType: 0,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901"
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1260.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<0da846666a1710c821e3862e002f2077>>
* @generated SignedSource<<1b6cbe175ec4ce9b8105313275070932>>
*/
"use strict";
@@ -13059,10 +13059,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1504 = {
bundleType: 0,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901"
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1504.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<c7f1d7a9525887169ecc9a1fba64050b>>
* @generated SignedSource<<51a06f45e2813db0c09918094f15bacb>>
*/
"use strict";
@@ -2744,64 +2744,65 @@ __DEV__ &&
? "tertiary-dark"
: "primary-dark"
: "error";
if ((selfTime = fiber._debugTask)) {
var props = fiber.memoizedProps;
if (
null !== props &&
null !== alternate &&
alternate.memoizedProps !== props &&
((child = [resuableChangedPropsEntry]),
var props = fiber.memoizedProps;
selfTime = fiber._debugTask;
null !== props &&
null !== alternate &&
alternate.memoizedProps !== props
? ((child = [resuableChangedPropsEntry]),
(props = addObjectDiffToProperties(
alternate.memoizedProps,
props,
child,
0
)),
1 < child.length)
) {
props &&
!alreadyWarnedForDeepEquality &&
0 === (alternate.lanes & committedLanes) &&
100 < fiber.actualDuration
? ((alreadyWarnedForDeepEquality = !0),
(child[0] = reusableDeeplyEqualPropsEntry),
(reusableComponentDevToolDetails.color = "warning"),
(reusableComponentDevToolDetails.tooltipText =
"This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner."))
: ((reusableComponentDevToolDetails.color = wasHydrated),
(reusableComponentDevToolDetails.tooltipText = name));
reusableComponentDevToolDetails.properties = child;
reusableComponentOptions.start = startTime;
reusableComponentOptions.end = endTime;
selfTime.run(
performance.measure.bind(
performance,
"\u200b" + name,
reusableComponentOptions
1 < child.length &&
(props &&
!alreadyWarnedForDeepEquality &&
0 === (alternate.lanes & committedLanes) &&
100 < fiber.actualDuration
? ((alreadyWarnedForDeepEquality = !0),
(child[0] = reusableDeeplyEqualPropsEntry),
(reusableComponentDevToolDetails.color = "warning"),
(reusableComponentDevToolDetails.tooltipText =
"This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner."))
: ((reusableComponentDevToolDetails.color = wasHydrated),
(reusableComponentDevToolDetails.tooltipText = name)),
(reusableComponentDevToolDetails.properties = child),
(reusableComponentOptions.start = startTime),
(reusableComponentOptions.end = endTime),
null != selfTime
? selfTime.run(
performance.measure.bind(
performance,
"\u200b" + name,
reusableComponentOptions
)
)
: performance.measure(
"\u200b" + name,
reusableComponentOptions
)))
: null != selfTime
? selfTime.run(
console.timeStamp.bind(
console,
name,
startTime,
endTime,
"Components \u269b",
void 0,
wasHydrated
)
)
);
return;
}
selfTime.run(
console.timeStamp.bind(
console,
name,
startTime,
endTime,
"Components \u269b",
void 0,
wasHydrated
)
);
} else
console.timeStamp(
name,
startTime,
endTime,
"Components \u269b",
void 0,
wasHydrated
);
: console.timeStamp(
name,
startTime,
endTime,
"Components \u269b",
void 0,
wasHydrated
);
}
}
function logComponentErrored(fiber, startTime, endTime, errors) {
@@ -19878,11 +19879,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-bb6f0c8d-20250901" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-2805f0ed-20250903" !== 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-bb6f0c8d-20250901\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-2805f0ed-20250903\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -19908,10 +19909,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901"
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f0ce230491ad494214d110ee31d021a1>>
* @generated SignedSource<<078ef7c91fa135010f4318dd4adbd3d1>>
*/
"use strict";
@@ -11254,11 +11254,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-bb6f0c8d-20250901" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-2805f0ed-20250903" !== 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-bb6f0c8d-20250901\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-2805f0ed-20250903\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11308,10 +11308,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1290 = {
bundleType: 0,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901"
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1290.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<b676a48f9a8bfbd4bf8f4d77dc2d2328>>
* @generated SignedSource<<c820fca23a12feb6f2745d4744099fc1>>
*/
"use strict";
@@ -13194,11 +13194,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-bb6f0c8d-20250901" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-2805f0ed-20250903" !== 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-bb6f0c8d-20250901\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-2805f0ed-20250903\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -13248,10 +13248,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1534 = {
bundleType: 0,
version: "19.2.0-native-fb-bb6f0c8d-20250901",
version: "19.2.0-native-fb-2805f0ed-20250903",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-bb6f0c8d-20250901"
reconcilerVersion: "19.2.0-native-fb-2805f0ed-20250903"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1534.rendererConfig = extraDevToolsConfig);
@@ -1,7 +1,7 @@
{
"name": "eslint-plugin-react-hooks",
"description": "ESLint rules for React Hooks",
"version": "0.0.0-experimental-bb6f0c8d-20250901",
"version": "0.0.0-experimental-2805f0ed-20250903",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",