mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[compiler] enablePreserveMemo treats manual deps as non-nullable (#34503)
The `@enablePreserveExistingMemoizationGuarantees` mode can still fail
to preserve manual memoization due to mismtached dependencies.
Specifically, where the user's dependencies are more precise than the
compiler infers bc the compiler is being conservative about what might
be nullable. In this mode though we're intentionally using information
from the manual memoization and can also rely on the deps as a signal
for what's non-nullable.
The idea of the PR is that we treat manual memo deps just like other
inferred-as-non-nullable objects during PropagateScopeDeps. We're
careful to not treat the full path as non-nullable, only up to the last
property index. So `x.y.z` as a manual dep treats `x` and `x.y` as
non-nullable, allowing us to preserve a conditional dependency on
`x.y.z`.
Optionals within manual dependencies are a bit trickier and aren't
handled yet, but hopefully that's less common and something we can
improve in a follow-up. Not handling them just means that developers may
hit false positives on validating existing memoization if they use
optional chains in manual dependencies.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/34503).
* #34689
* __->__ #34503
DiffTrain build for [57d5a59748](https://github.com/facebook/react/commit/57d5a59748bbec1b507bb778c9fbe4bcb82b0a94)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.2.0-native-fb-ae74234e-20251001
|
||||
19.3.0-native-fb-57d5a597-20251002
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8c7bbb1b7da61fe0c31aa4bc3d973f31>>
|
||||
* @generated SignedSource<<44a58f1c25f5d340803e6a2f02d44d58>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c4a7d61291385a50bd4e9432bfd69b65>>
|
||||
* @generated SignedSource<<d4734ed2e0b7fa344b87331c99ca6536>>
|
||||
*/
|
||||
|
||||
"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-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c4a7d61291385a50bd4e9432bfd69b65>>
|
||||
* @generated SignedSource<<d4734ed2e0b7fa344b87331c99ca6536>>
|
||||
*/
|
||||
|
||||
"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-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
|
||||
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0cceebe14b823fb2b4a752c96f542990>>
|
||||
* @generated SignedSource<<91b00c527532a1488188e3b7fba59e1d>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -30061,11 +30061,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-ae74234e-20251001" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-57d5a597-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.2.0-native-fb-ae74234e-20251001\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.3.0-native-fb-57d5a597-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -30102,10 +30102,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001"
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -30255,5 +30255,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-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<<ff4ac2ea3404d6bae9ec6dcac83dbf0c>>
|
||||
* @generated SignedSource<<11b6ad11c4ce1326f6620ffcd53ce388>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17578,14 +17578,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2059 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-ae74234e-20251001" !==
|
||||
"19.3.0-native-fb-57d5a597-20251002" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2059
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2059,
|
||||
"19.2.0-native-fb-ae74234e-20251001"
|
||||
"19.3.0-native-fb-57d5a597-20251002"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17607,10 +17607,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2636 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001"
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-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.2.0-native-fb-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4887fd747289f8cd1f3cb68a2b04b490>>
|
||||
* @generated SignedSource<<3f4913ddb2ace3afebef375803f9c060>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19716,14 +19716,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2374 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-ae74234e-20251001" !==
|
||||
"19.3.0-native-fb-57d5a597-20251002" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2374
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2374,
|
||||
"19.2.0-native-fb-ae74234e-20251001"
|
||||
"19.3.0-native-fb-57d5a597-20251002"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19745,10 +19745,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2381 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001",
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-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.2.0-native-fb-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<135c96374256ecad4d89ffdf56a29046>>
|
||||
* @generated SignedSource<<dc93e27f80d641970f9c9b52e8c38767>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -30117,11 +30117,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-ae74234e-20251001" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-57d5a597-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.2.0-native-fb-ae74234e-20251001\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.3.0-native-fb-57d5a597-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -30158,10 +30158,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001"
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -30627,7 +30627,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-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<<fdbd86fccbb29ada5169972a10e04177>>
|
||||
* @generated SignedSource<<4ff8a16c21a2635e6f0d627adcfbccdf>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17589,14 +17589,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2060 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-ae74234e-20251001" !==
|
||||
"19.3.0-native-fb-57d5a597-20251002" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2060
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2060,
|
||||
"19.2.0-native-fb-ae74234e-20251001"
|
||||
"19.3.0-native-fb-57d5a597-20251002"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17618,10 +17618,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2639 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001"
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-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.2.0-native-fb-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<489a3a3e0993130a45f60933bdd9d15c>>
|
||||
* @generated SignedSource<<270cae553112e9c9d9146f1123e105ca>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19731,14 +19731,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2375 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-ae74234e-20251001" !==
|
||||
"19.3.0-native-fb-57d5a597-20251002" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2375
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2375,
|
||||
"19.2.0-native-fb-ae74234e-20251001"
|
||||
"19.3.0-native-fb-57d5a597-20251002"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19760,10 +19760,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2382 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001",
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-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.2.0-native-fb-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-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<<a775db51d7c7421cc6a267778a72cfd9>>
|
||||
* @generated SignedSource<<251d34dcdebe289775774e7a2df6435c>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -16015,10 +16015,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001"
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16164,5 +16164,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
})();
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<03ad6ea3a34dce1d8fa98b6c84f5c7a3>>
|
||||
* @generated SignedSource<<d69b52678eed1c40e4226ce005759d32>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10105,10 +10105,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1493 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001"
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-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.2.0-native-fb-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d401cecb24e3fda5fc988e6dc74ef658>>
|
||||
* @generated SignedSource<<39f32fe6717f5373e46bbe889d2ca34c>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10726,10 +10726,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1274 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001",
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-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.2.0-native-fb-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c20aa462d4ddfe9819d8c11b4ede070e>>
|
||||
* @generated SignedSource<<5e3dded7362938ca3a72148a619fc428>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1400,7 +1400,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-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<<16b2ff731d2eceea947e1a48153233f2>>
|
||||
* @generated SignedSource<<d2dde41786c6d09ca3f589888d5c0ab5>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -583,4 +583,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8f65edb3746087712c6419a65abf92fa>>
|
||||
* @generated SignedSource<<bc8b234736ffb139231dcab2f4a4deba>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -587,7 +587,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-ae74234e-20251001";
|
||||
exports.version = "19.3.0-native-fb-57d5a597-20251002";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
ae74234eae6ebd62f19190731278e20bc1c37d51
|
||||
57d5a59748bbec1b507bb778c9fbe4bcb82b0a94
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<21de229c2d24330ed7ac7f8f8eb97816>>
|
||||
* @generated SignedSource<<8f7e0621669d8574bc34114f4dcae5ab>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -20000,10 +20000,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001"
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<08c282447d344ae2a4949e597bafec62>>
|
||||
* @generated SignedSource<<7b701df91bd9a7d9c07d48d987347a03>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11256,10 +11256,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1319 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001"
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1319.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<a9ec0da93d0557558f475b9905d2b5fe>>
|
||||
* @generated SignedSource<<a208f7ceda25e325c24a5a850f562ce2>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -13320,10 +13320,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1627 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001"
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1627.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<e439cef62e926756a939f67cedaeae76>>
|
||||
* @generated SignedSource<<8752b3aa66c6db91bba68e58948d3ada>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -20292,11 +20292,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-ae74234e-20251001" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-57d5a597-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.2.0-native-fb-ae74234e-20251001\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.3.0-native-fb-57d5a597-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -20322,10 +20322,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001"
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<1386a6ce5628fdb9e782444d18739cfe>>
|
||||
* @generated SignedSource<<3acc34d687ab36dfb78628d9d57e5b97>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11426,11 +11426,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-ae74234e-20251001" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-57d5a597-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.2.0-native-fb-ae74234e-20251001\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.3.0-native-fb-57d5a597-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.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001"
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1326.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<97a101ade0837f50cca4a97dbc11cc5c>>
|
||||
* @generated SignedSource<<29d6a3eb2ca5756a51596aeddd5d748f>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -13483,11 +13483,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-ae74234e-20251001" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-57d5a597-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.2.0-native-fb-ae74234e-20251001\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.3.0-native-fb-57d5a597-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.2.0-native-fb-ae74234e-20251001",
|
||||
version: "19.3.0-native-fb-57d5a597-20251002",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-ae74234e-20251001"
|
||||
reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1634.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+24
-1
@@ -12,7 +12,7 @@
|
||||
* @lightSyntaxTransform
|
||||
* @preventMunge
|
||||
* @oncall react_core
|
||||
* @generated SignedSource<<601189980998463aafddff88451ac0c2>>
|
||||
* @generated SignedSource<<aa8db4d524cdbb9a536b418c6315d0be>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -45364,6 +45364,29 @@ function collectNonNullsInBlocks(fn, context) {
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (fn.env.config.enablePreserveExistingMemoizationGuarantees &&
|
||||
instr.value.kind === 'StartMemoize' &&
|
||||
instr.value.deps != null) {
|
||||
for (const dep of instr.value.deps) {
|
||||
if (dep.root.kind === 'NamedLocal') {
|
||||
if (!isImmutableAtInstr(dep.root.value.identifier, instr.id, context)) {
|
||||
continue;
|
||||
}
|
||||
for (let i = 0; i < dep.path.length; i++) {
|
||||
const pathEntry = dep.path[i];
|
||||
if (pathEntry.optional) {
|
||||
break;
|
||||
}
|
||||
const depNode = context.registry.getOrCreateProperty({
|
||||
identifier: dep.root.value.identifier,
|
||||
path: dep.path.slice(0, i),
|
||||
reactive: dep.root.value.reactive,
|
||||
});
|
||||
assumedNonNullObjects.add(depNode);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
nodes.set(block.id, {
|
||||
block,
|
||||
|
||||
+24
-1
@@ -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<<bced8273e2970441c51693a9e7794d08>>
|
||||
* @generated SignedSource<<e410ff8d72e7fe80e2b1fbc19a866b6c>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -45143,6 +45143,29 @@ function collectNonNullsInBlocks(fn, context) {
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (fn.env.config.enablePreserveExistingMemoizationGuarantees &&
|
||||
instr.value.kind === 'StartMemoize' &&
|
||||
instr.value.deps != null) {
|
||||
for (const dep of instr.value.deps) {
|
||||
if (dep.root.kind === 'NamedLocal') {
|
||||
if (!isImmutableAtInstr(dep.root.value.identifier, instr.id, context)) {
|
||||
continue;
|
||||
}
|
||||
for (let i = 0; i < dep.path.length; i++) {
|
||||
const pathEntry = dep.path[i];
|
||||
if (pathEntry.optional) {
|
||||
break;
|
||||
}
|
||||
const depNode = context.registry.getOrCreateProperty({
|
||||
identifier: dep.root.value.identifier,
|
||||
path: dep.path.slice(0, i),
|
||||
reactive: dep.root.value.reactive,
|
||||
});
|
||||
assumedNonNullObjects.add(depNode);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
nodes.set(block.id, {
|
||||
block,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-ae74234e-20251001",
|
||||
"version": "0.0.0-experimental-57d5a597-20251002",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
||||
Reference in New Issue
Block a user