[rcr] Re-export useMemoCache in top level React namespace (#31139)

In order to support using the compiler on versions of React prior to 19,
we need the ability to statically import `c` (aka useMemoCache) or
fallback to a polyfill supplied by `react-compiler-runtime` (note: this
is a separate npm package, not to be confused with
`react/compiler-runtime`, which is currently a part of react).

To do this we first need to re-export `useMemoCache` under the top level
React namespace again, which is additive and thus non-breaking. Doing so
allows `react-compiler-runtime` to statically either re-export
`React.__COMPILER_RUNTIME.c` or supply a polyfill, without the need for
a dynamic import which is finicky to support due to returning a promise.

In later PRs I will remove `react/compiler-runtime` and update the
compiler to emit imports to `react-compiler-runtime` instead.

DiffTrain build for [b78a7f2f35](https://github.com/facebook/react/commit/b78a7f2f35e554a8647c3262d7f392e68d06febc)
This commit is contained in:
poteto
2024-10-07 13:32:16 -07:00
parent 6acd66ee67
commit b3b172a470
23 changed files with 93 additions and 87 deletions
+1 -1
View File
@@ -1 +1 @@
19.0.0-native-fb-459fd418-20241001
19.0.0-native-fb-b78a7f2f-20241007
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<333789674f3a865b32eba498659ac910>>
* @generated SignedSource<<d5faa91f4a5f8a6940d890f72a303b54>>
*/
"use strict";
@@ -420,5 +420,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<079922b0a92a10633e0f40e43b54b735>>
* @generated SignedSource<<19418ee514eca4bcaf1ba0d649a720b4>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<079922b0a92a10633e0f40e43b54b735>>
* @generated SignedSource<<19418ee514eca4bcaf1ba0d649a720b4>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<81900bfb513fc0c38794b9e3c210915a>>
* @generated SignedSource<<50538a711c0ffae7621f4907d19f5002>>
*/
/*
@@ -25304,11 +25304,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-native-fb-459fd418-20241001" !== isomorphicReactPackageVersion)
if ("19.0.0-native-fb-b78a7f2f-20241007" !== 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.0.0-native-fb-459fd418-20241001\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-native-fb-b78a7f2f-20241007\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -25345,11 +25345,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001"
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25493,5 +25493,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<bb77136cedd422081ff7603adc64a4d5>>
* @generated SignedSource<<66c9a1a1221b0f25c3fc6b802381a71f>>
*/
/*
@@ -15598,14 +15598,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1691 = React.version;
if (
"19.0.0-native-fb-459fd418-20241001" !==
"19.0.0-native-fb-b78a7f2f-20241007" !==
isomorphicReactPackageVersion$jscomp$inline_1691
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1691,
"19.0.0-native-fb-459fd418-20241001"
"19.0.0-native-fb-b78a7f2f-20241007"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15627,11 +15627,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2144 = {
bundleType: 0,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001"
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2145 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15735,4 +15735,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<54e57ea222e9bfd9dbf750496a69abc8>>
* @generated SignedSource<<0a35ca8dced5c33f584e6582ef1df166>>
*/
/*
@@ -16255,14 +16255,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1781 = React.version;
if (
"19.0.0-native-fb-459fd418-20241001" !==
"19.0.0-native-fb-b78a7f2f-20241007" !==
isomorphicReactPackageVersion$jscomp$inline_1781
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1781,
"19.0.0-native-fb-459fd418-20241001"
"19.0.0-native-fb-b78a7f2f-20241007"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16284,11 +16284,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1788 = {
bundleType: 0,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001",
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$286 = 0;
@@ -16407,4 +16407,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ee0f9fb7d05a1c29290cae2dd15d3f4e>>
* @generated SignedSource<<8c1b7dae604278006c2ff6473ace83e0>>
*/
/*
@@ -25365,11 +25365,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-native-fb-459fd418-20241001" !== isomorphicReactPackageVersion)
if ("19.0.0-native-fb-b78a7f2f-20241007" !== 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.0.0-native-fb-459fd418-20241001\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-native-fb-b78a7f2f-20241007\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -25406,11 +25406,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001"
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25870,7 +25870,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<de7905821e9bd8b0b0114678b6e7f3bf>>
* @generated SignedSource<<32a7570edfe1e2a0b4a6c63c9684eea8>>
*/
/*
@@ -15609,14 +15609,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1692 = React.version;
if (
"19.0.0-native-fb-459fd418-20241001" !==
"19.0.0-native-fb-b78a7f2f-20241007" !==
isomorphicReactPackageVersion$jscomp$inline_1692
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1692,
"19.0.0-native-fb-459fd418-20241001"
"19.0.0-native-fb-b78a7f2f-20241007"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15638,11 +15638,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2147 = {
bundleType: 0,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001"
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2148 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15900,4 +15900,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<a8958828a6f1c9be677992cbbc2cdd34>>
* @generated SignedSource<<15cc6efda2582697662984eedd53fbd5>>
*/
/*
@@ -16270,14 +16270,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1782 = React.version;
if (
"19.0.0-native-fb-459fd418-20241001" !==
"19.0.0-native-fb-b78a7f2f-20241007" !==
isomorphicReactPackageVersion$jscomp$inline_1782
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1782,
"19.0.0-native-fb-459fd418-20241001"
"19.0.0-native-fb-b78a7f2f-20241007"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16299,11 +16299,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1789 = {
bundleType: 0,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001",
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$286 = 0;
@@ -16576,7 +16576,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<1d53c7bc3d0ae903c61fa8595d08393e>>
* @generated SignedSource<<57eaa37e0992b9ff5709317b55eae2af>>
*/
"use strict";
@@ -15136,11 +15136,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001"
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15285,5 +15285,5 @@ __DEV__ &&
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<61ae7a14b1c2fe4d5a62116dd0057516>>
* @generated SignedSource<<f6849f0e258dac90e87357636acbd312>>
*/
"use strict";
@@ -9520,14 +9520,14 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1346 = {
bundleType: 0,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: function (mockNode) {
mockNode = nodeToInstanceMap.get(mockNode);
return void 0 !== mockNode ? mockNode.internalInstanceHandle : null;
},
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001"
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1347 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9663,4 +9663,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<70ef1897e304423dc1d28167db300446>>
* @generated SignedSource<<29be313a04ea229aaed8bb23bf52b452>>
*/
"use strict";
@@ -10088,14 +10088,14 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1161 = {
bundleType: 0,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: function (mockNode) {
mockNode = nodeToInstanceMap.get(mockNode);
return void 0 !== mockNode ? mockNode.internalInstanceHandle : null;
},
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001",
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$142 = 0;
@@ -10246,4 +10246,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<39711b23e69f6a08343fce7eeb5355e6>>
* @generated SignedSource<<b74b3d8161584b12ef52e873b58a37c1>>
*/
"use strict";
@@ -1173,7 +1173,8 @@ __DEV__ &&
return queueMicrotask(callback);
});
}
: enqueueTask;
: enqueueTask,
ReactCompilerRuntime = { c: useMemoCache };
exports.Children = {
map: mapChildren,
forEach: function (children, forEachFunc, forEachContext) {
@@ -1215,6 +1216,7 @@ __DEV__ &&
exports.Suspense = REACT_SUSPENSE_TYPE;
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
ReactSharedInternals;
exports.__COMPILER_RUNTIME = ReactCompilerRuntime;
exports.act = function (callback) {
var prevIsBatchingLegacy = ReactSharedInternals.isBatchingLegacy,
prevActQueue = ReactSharedInternals.actQueue,
@@ -1703,7 +1705,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<16c898c49f330b62be928b8796ec74cd>>
* @generated SignedSource<<bc4d7b0764ceaf780489b0f9b2c702a2>>
*/
"use strict";
@@ -339,6 +339,7 @@ var reportGlobalError =
console.error(error);
};
function noop() {}
var ReactCompilerRuntime = { c: useMemoCache };
exports.Children = {
map: mapChildren,
forEach: function (children, forEachFunc, forEachContext) {
@@ -380,6 +381,7 @@ exports.StrictMode = REACT_STRICT_MODE_TYPE;
exports.Suspense = REACT_SUSPENSE_TYPE;
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
ReactSharedInternals;
exports.__COMPILER_RUNTIME = ReactCompilerRuntime;
exports.act = function () {
throw Error("act(...) is not supported in production builds of React.");
};
@@ -579,4 +581,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<808fbd216736377aa7fa256fdc77aca7>>
* @generated SignedSource<<3fb19140caf3af5af982f915d2775eb5>>
*/
"use strict";
@@ -343,6 +343,7 @@ var reportGlobalError =
console.error(error);
};
function noop() {}
var ReactCompilerRuntime = { c: useMemoCache };
exports.Children = {
map: mapChildren,
forEach: function (children, forEachFunc, forEachContext) {
@@ -384,6 +385,7 @@ exports.StrictMode = REACT_STRICT_MODE_TYPE;
exports.Suspense = REACT_SUSPENSE_TYPE;
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
ReactSharedInternals;
exports.__COMPILER_RUNTIME = ReactCompilerRuntime;
exports.act = function () {
throw Error("act(...) is not supported in production builds of React.");
};
@@ -583,7 +585,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-native-fb-459fd418-20241001";
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
459fd418cfbd1f2f1be58efd8c89a0e0ecfb6d44
b78a7f2f35e554a8647c3262d7f392e68d06febc
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<5755f7d9eb0c873baf9379370f20c1a3>>
* @generated SignedSource<<5e2acd2f6d2103d57d72bced227b5ea6>>
*/
"use strict";
@@ -16930,11 +16930,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001"
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<2964b6e0a91a7fada5d77af5603d60d9>>
* @generated SignedSource<<5866319f5f9dd044b120ab1dd08d9952>>
*/
"use strict";
@@ -10869,11 +10869,11 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1170 = {
bundleType: 0,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001"
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1170.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f7f9a598143861c814040bb4e06b528e>>
* @generated SignedSource<<e3aedb4e2c36480398466a64e2d2362f>>
*/
"use strict";
@@ -11530,11 +11530,11 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1258 = {
bundleType: 0,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001"
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1258.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<9fcb3024a677eb92b53b81ffa4be6351>>
* @generated SignedSource<<5ec07d5b78df7c28f842c849052ad0a8>>
*/
"use strict";
@@ -17149,11 +17149,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-native-fb-459fd418-20241001" !== isomorphicReactPackageVersion)
if ("19.0.0-native-fb-b78a7f2f-20241007" !== 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.0.0-native-fb-459fd418-20241001\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.0.0-native-fb-b78a7f2f-20241007\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -17179,11 +17179,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromTag,
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001"
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<6880019212d31f61ba4ccccb2d4fe50c>>
* @generated SignedSource<<9fc124433872243a536d688cc70f7b05>>
*/
"use strict";
@@ -10999,11 +10999,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-native-fb-459fd418-20241001" !== isomorphicReactPackageVersion)
if ("19.0.0-native-fb-b78a7f2f-20241007" !== 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.0.0-native-fb-459fd418-20241001\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.0.0-native-fb-b78a7f2f-20241007\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11052,11 +11052,11 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1236 = {
bundleType: 0,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromTag,
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001"
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1236.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<33c5522abf9f9f94e6f83e75da33c786>>
* @generated SignedSource<<6e6dab71302e3b4c83dba8a538f7a125>>
*/
"use strict";
@@ -11659,11 +11659,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-native-fb-459fd418-20241001" !== isomorphicReactPackageVersion)
if ("19.0.0-native-fb-b78a7f2f-20241007" !== 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.0.0-native-fb-459fd418-20241001\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.0.0-native-fb-b78a7f2f-20241007\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11712,11 +11712,11 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1324 = {
bundleType: 0,
version: "19.0.0-native-fb-459fd418-20241001",
version: "19.0.0-native-fb-b78a7f2f-20241007",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromTag,
reconcilerVersion: "19.0.0-native-fb-459fd418-20241001"
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1324.rendererConfig = extraDevToolsConfig);