mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[compiler] @enablePreserveExistingMemoizationGuarantees on by default (#34689)
This enables `@enablePreserveExistingMemoizationGuarantees` by default.
As of the previous PR (#34503), this mode now enables the following
behaviors:
- Treating variables referenced within a `useMemo()` or `useCallback()`
as "frozen" (immutable) as of the start of the call. Ie, the compiler
will assume that the values you reference are not mutated by the body of
the useMemo, not are they mutated later. Directly modifying them (eg
`var.property = true`) will be an error.
- Similarly, the results of the useMemo/useCallback are treated as
frozen (immutable) after the call.
These two rules match the behavior for other hooks: this means that
developers will see similar behavior to swapping out `useMemo()` for a
custom `useMyMemo()` wrapper/alias.
Additionally, as of #34503 the compiler uses information from the manual
dependencies to know which variables are non-nullable. Even if a useMemo
block conditionally accesses a nested property — `if (cond) { log(x.y.z)
}` — where the compiler would not usually know that `x` is non-nullable,
if the user specifies `x.y.z` as a manual dependency then the compiler
knows that `x` and `x.y` are non-nullable and can infer a more precise
dependency.
Finally, this mode also ensures that we always memoize function calls
that return primitives. See #34343 for more details.
For now, I've explicitly opted out of this feature in all test fixtures
where the behavior changed.
DiffTrain build for [70b52beca6](https://github.com/facebook/react/commit/70b52beca64aeac447a6cf57cfe1fda0691435c1)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.3.0-native-fb-57d5a597-20251002
|
||||
19.3.0-native-fb-70b52bec-20251002
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<44a58f1c25f5d340803e6a2f02d44d58>>
|
||||
* @generated SignedSource<<d1fc4aed12fe501dc3236e12a925d762>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d4734ed2e0b7fa344b87331c99ca6536>>
|
||||
* @generated SignedSource<<f38fc0148dfbff6da655b33c1524921e>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d4734ed2e0b7fa344b87331c99ca6536>>
|
||||
* @generated SignedSource<<f38fc0148dfbff6da655b33c1524921e>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
|
||||
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<91b00c527532a1488188e3b7fba59e1d>>
|
||||
* @generated SignedSource<<9546933ccd69ece5525d2758b03df590>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -30061,11 +30061,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.3.0-native-fb-57d5a597-20251002" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-70b52bec-20251002" !== 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.3.0-native-fb-57d5a597-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.3.0-native-fb-70b52bec-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -30102,10 +30102,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -30255,5 +30255,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
})();
|
||||
|
||||
compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<11b6ad11c4ce1326f6620ffcd53ce388>>
|
||||
* @generated SignedSource<<875025a4097f96a8980d4ea05c12d2b8>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17578,14 +17578,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2059 = React.version;
|
||||
if (
|
||||
"19.3.0-native-fb-57d5a597-20251002" !==
|
||||
"19.3.0-native-fb-70b52bec-20251002" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2059
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2059,
|
||||
"19.3.0-native-fb-57d5a597-20251002"
|
||||
"19.3.0-native-fb-70b52bec-20251002"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17607,10 +17607,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2636 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2637 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17717,4 +17717,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<3f4913ddb2ace3afebef375803f9c060>>
|
||||
* @generated SignedSource<<b35b43c6f304f05e9a992bbb417f61e9>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19716,14 +19716,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2374 = React.version;
|
||||
if (
|
||||
"19.3.0-native-fb-57d5a597-20251002" !==
|
||||
"19.3.0-native-fb-70b52bec-20251002" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2374
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2374,
|
||||
"19.3.0-native-fb-57d5a597-20251002"
|
||||
"19.3.0-native-fb-70b52bec-20251002"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19745,10 +19745,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2381 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002",
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$331 = 0;
|
||||
@@ -19871,4 +19871,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<dc93e27f80d641970f9c9b52e8c38767>>
|
||||
* @generated SignedSource<<a317e40dd4022849732dab2529c2dbe7>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -30117,11 +30117,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.3.0-native-fb-57d5a597-20251002" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-70b52bec-20251002" !== 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.3.0-native-fb-57d5a597-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.3.0-native-fb-70b52bec-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -30158,10 +30158,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -30627,7 +30627,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4ff8a16c21a2635e6f0d627adcfbccdf>>
|
||||
* @generated SignedSource<<8f1f3a3b5a63a6ba1d47e3f384425423>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17589,14 +17589,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2060 = React.version;
|
||||
if (
|
||||
"19.3.0-native-fb-57d5a597-20251002" !==
|
||||
"19.3.0-native-fb-70b52bec-20251002" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2060
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2060,
|
||||
"19.3.0-native-fb-57d5a597-20251002"
|
||||
"19.3.0-native-fb-70b52bec-20251002"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17618,10 +17618,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2639 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2640 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17881,4 +17881,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<270cae553112e9c9d9146f1123e105ca>>
|
||||
* @generated SignedSource<<785a30774381eef3422773090d816420>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19731,14 +19731,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2375 = React.version;
|
||||
if (
|
||||
"19.3.0-native-fb-57d5a597-20251002" !==
|
||||
"19.3.0-native-fb-70b52bec-20251002" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2375
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2375,
|
||||
"19.3.0-native-fb-57d5a597-20251002"
|
||||
"19.3.0-native-fb-70b52bec-20251002"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19760,10 +19760,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2382 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002",
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$331 = 0;
|
||||
@@ -20039,7 +20039,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<251d34dcdebe289775774e7a2df6435c>>
|
||||
* @generated SignedSource<<3ddfdb33ccaad7e97ef8965f5886cc29>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -16015,10 +16015,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16164,5 +16164,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
})();
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d69b52678eed1c40e4226ce005759d32>>
|
||||
* @generated SignedSource<<685ba60e77c2a469d95bf6df65418dcc>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10105,10 +10105,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1493 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1494 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10244,4 +10244,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<39f32fe6717f5373e46bbe889d2ca34c>>
|
||||
* @generated SignedSource<<42418bbdb7c46881891e8ece45ddc567>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10726,10 +10726,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1274 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002",
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$146 = 0;
|
||||
@@ -10880,4 +10880,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<5e3dded7362938ca3a72148a619fc428>>
|
||||
* @generated SignedSource<<2c7a04bb100aba5876da32dab73cc916>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1400,7 +1400,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d2dde41786c6d09ca3f589888d5c0ab5>>
|
||||
* @generated SignedSource<<5e2f4d771c0eb9ff55adf408b550e0a0>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -583,4 +583,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<bc8b234736ffb139231dcab2f4a4deba>>
|
||||
* @generated SignedSource<<95f0a230bc43f7bbbf46d2ac6a254b94>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -587,7 +587,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
exports.version = "19.3.0-native-fb-70b52bec-20251002";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
57d5a59748bbec1b507bb778c9fbe4bcb82b0a94
|
||||
70b52beca64aeac447a6cf57cfe1fda0691435c1
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8f7e0621669d8574bc34114f4dcae5ab>>
|
||||
* @generated SignedSource<<990b14a8e7b0aeff58f5cd151c64ea66>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -20000,10 +20000,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<7b701df91bd9a7d9c07d48d987347a03>>
|
||||
* @generated SignedSource<<7f408915712591f29e2298942b057489>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11256,10 +11256,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1319 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1319.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<a208f7ceda25e325c24a5a850f562ce2>>
|
||||
* @generated SignedSource<<a558206d09e7a391f4e1a2fadbdaca3c>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -13320,10 +13320,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1627 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1627.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8752b3aa66c6db91bba68e58948d3ada>>
|
||||
* @generated SignedSource<<42b9da57b698fa12ec9a2884ffd9a59a>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -20292,11 +20292,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.3.0-native-fb-57d5a597-20251002" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-70b52bec-20251002" !== 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.3.0-native-fb-57d5a597-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.3.0-native-fb-70b52bec-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -20322,10 +20322,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<3acc34d687ab36dfb78628d9d57e5b97>>
|
||||
* @generated SignedSource<<e5969f0e7869b5dbcd97520cf2550669>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11426,11 +11426,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.3.0-native-fb-57d5a597-20251002" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-70b52bec-20251002" !== 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.3.0-native-fb-57d5a597-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.3.0-native-fb-70b52bec-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11480,10 +11480,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1326 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1326.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<29d6a3eb2ca5756a51596aeddd5d748f>>
|
||||
* @generated SignedSource<<0bf5e9f067814ce9a7e75c941dd5e731>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -13483,11 +13483,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.3.0-native-fb-57d5a597-20251002" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-70b52bec-20251002" !== 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.3.0-native-fb-57d5a597-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.3.0-native-fb-70b52bec-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -13537,10 +13537,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1634 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
version: "19.3.0-native-fb-70b52bec-20251002",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1634.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+2
-2
@@ -12,7 +12,7 @@
|
||||
* @lightSyntaxTransform
|
||||
* @preventMunge
|
||||
* @oncall react_core
|
||||
* @generated SignedSource<<aa8db4d524cdbb9a536b418c6315d0be>>
|
||||
* @generated SignedSource<<04d8bfbad94326555eaa3b2d3b1e01f7>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -32124,7 +32124,7 @@ const EnvironmentConfigSchema = zod.z.object({
|
||||
moduleTypeProvider: zod.z.nullable(zod.z.function().args(zod.z.string())).default(null),
|
||||
customMacros: zod.z.nullable(zod.z.array(MacroSchema)).default(null),
|
||||
enableResetCacheOnSourceFileChanges: zod.z.nullable(zod.z.boolean()).default(null),
|
||||
enablePreserveExistingMemoizationGuarantees: zod.z.boolean().default(false),
|
||||
enablePreserveExistingMemoizationGuarantees: zod.z.boolean().default(true),
|
||||
validatePreserveExistingMemoizationGuarantees: zod.z.boolean().default(true),
|
||||
enablePreserveExistingManualUseMemo: zod.z.boolean().default(false),
|
||||
enableForest: zod.z.boolean().default(false),
|
||||
|
||||
+2
-2
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
* @generated SignedSource<<e410ff8d72e7fe80e2b1fbc19a866b6c>>
|
||||
* @generated SignedSource<<4e4a1e86e0614b95a7debf3a95619ba4>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -31903,7 +31903,7 @@ const EnvironmentConfigSchema = zod.z.object({
|
||||
moduleTypeProvider: zod.z.nullable(zod.z.function().args(zod.z.string())).default(null),
|
||||
customMacros: zod.z.nullable(zod.z.array(MacroSchema)).default(null),
|
||||
enableResetCacheOnSourceFileChanges: zod.z.nullable(zod.z.boolean()).default(null),
|
||||
enablePreserveExistingMemoizationGuarantees: zod.z.boolean().default(false),
|
||||
enablePreserveExistingMemoizationGuarantees: zod.z.boolean().default(true),
|
||||
validatePreserveExistingMemoizationGuarantees: zod.z.boolean().default(true),
|
||||
enablePreserveExistingManualUseMemo: zod.z.boolean().default(false),
|
||||
enableForest: zod.z.boolean().default(false),
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-57d5a597-20251002",
|
||||
"version": "0.0.0-experimental-70b52bec-20251002",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
||||
Reference in New Issue
Block a user