[tests] <StrictMode /> nested in tree is broken (#31825)

Adds a test that shows using <StrictMode /> anywhere outside of the root
node will not fire strict effects.

This works:

```js
root.render(
  <StrictMode>
    <App>
      <Children />
    </App>
  </StrictMode>
);
  ```

  This does not fire strict effects on mount:
```js
root.render(
  <App>
    <StrictMode>
      <Children />
    </StrictMode>
  </App>
);
```

DiffTrain build for [e1d843f4d8](https://github.com/facebook/react/commit/e1d843f4d8776bbf5d4fbd12a39bcfd2c565f900)
This commit is contained in:
rickhanlonii
2024-12-18 10:37:27 -08:00
parent 82d7548ca8
commit 227433ea29
22 changed files with 85 additions and 85 deletions
+1 -1
View File
@@ -1 +1 @@
19.1.0-native-fb-1e9ef39a-20241218
19.1.0-native-fb-e1d843f4-20241218
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<9561a2b5a3e6e43837f98757880eb5a8>>
* @generated SignedSource<<5e84cee5f3a9eb48d9e2203479344ec1>>
*/
"use strict";
@@ -420,5 +420,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<b000a3ec96fe4b8604fab5ff80af638f>>
* @generated SignedSource<<2099a269cb90d2ee3ef527f496d776e0>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<b000a3ec96fe4b8604fab5ff80af638f>>
* @generated SignedSource<<2099a269cb90d2ee3ef527f496d776e0>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<adea0e3255a9ad7a8501ea6b0d286f87>>
* @generated SignedSource<<d7c2be1cf1101ef57265b6a116bcc605>>
*/
/*
@@ -25850,11 +25850,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-1e9ef39a-20241218" !== isomorphicReactPackageVersion)
if ("19.1.0-native-fb-e1d843f4-20241218" !== 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.1.0-native-fb-1e9ef39a-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-native-fb-e1d843f4-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -25891,10 +25891,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218"
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26040,5 +26040,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<8531fe495f7090fff77c1c318a3777e5>>
* @generated SignedSource<<d99aad0a4eda3ded9398383a51d3f54d>>
*/
/*
@@ -15869,14 +15869,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1724 = React.version;
if (
"19.1.0-native-fb-1e9ef39a-20241218" !==
"19.1.0-native-fb-e1d843f4-20241218" !==
isomorphicReactPackageVersion$jscomp$inline_1724
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1724,
"19.1.0-native-fb-1e9ef39a-20241218"
"19.1.0-native-fb-e1d843f4-20241218"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15898,10 +15898,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2179 = {
bundleType: 0,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218"
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2180 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16007,4 +16007,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d7de1b948d42c77ad4f07a057135d253>>
* @generated SignedSource<<9e765d6990e281a0d16389eb3df7e5a8>>
*/
/*
@@ -16522,14 +16522,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1814 = React.version;
if (
"19.1.0-native-fb-1e9ef39a-20241218" !==
"19.1.0-native-fb-e1d843f4-20241218" !==
isomorphicReactPackageVersion$jscomp$inline_1814
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1814,
"19.1.0-native-fb-1e9ef39a-20241218"
"19.1.0-native-fb-e1d843f4-20241218"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16551,10 +16551,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1821 = {
bundleType: 0,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218",
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$292 = 0;
@@ -16675,4 +16675,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<7a33940f10098194ad0401f4ba2476ae>>
* @generated SignedSource<<6064b21a1512d2b0c0e0fa251bcb047c>>
*/
/*
@@ -25911,11 +25911,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-1e9ef39a-20241218" !== isomorphicReactPackageVersion)
if ("19.1.0-native-fb-e1d843f4-20241218" !== 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.1.0-native-fb-1e9ef39a-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-native-fb-e1d843f4-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -25952,10 +25952,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218"
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26417,7 +26417,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d963d4dcc032528d1530594eb64ad1ad>>
* @generated SignedSource<<dab919fd21cedf31b8d29f72bc1d1666>>
*/
/*
@@ -15880,14 +15880,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1725 = React.version;
if (
"19.1.0-native-fb-1e9ef39a-20241218" !==
"19.1.0-native-fb-e1d843f4-20241218" !==
isomorphicReactPackageVersion$jscomp$inline_1725
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1725,
"19.1.0-native-fb-1e9ef39a-20241218"
"19.1.0-native-fb-e1d843f4-20241218"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15909,10 +15909,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2182 = {
bundleType: 0,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218"
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2183 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16172,4 +16172,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<1287243ada7156decfedff4d2bd0c0c0>>
* @generated SignedSource<<c945ef2de4b3eb60c010893f2b301dd0>>
*/
/*
@@ -16537,14 +16537,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1815 = React.version;
if (
"19.1.0-native-fb-1e9ef39a-20241218" !==
"19.1.0-native-fb-e1d843f4-20241218" !==
isomorphicReactPackageVersion$jscomp$inline_1815
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1815,
"19.1.0-native-fb-1e9ef39a-20241218"
"19.1.0-native-fb-e1d843f4-20241218"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16566,10 +16566,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1822 = {
bundleType: 0,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218",
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$292 = 0;
@@ -16844,7 +16844,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<df4952bf7aa47c9277b4d10b77c8e9b3>>
* @generated SignedSource<<5c896b7f60175bb328724be2fa7f1736>>
*/
"use strict";
@@ -15513,10 +15513,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218"
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15661,5 +15661,5 @@ __DEV__ &&
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<597d5598bef7f861f3fe4a8f60c99c50>>
* @generated SignedSource<<0a430c692b861184c1891ef94729f71b>>
*/
"use strict";
@@ -9698,10 +9698,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1454 = {
bundleType: 0,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218"
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1455 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9837,4 +9837,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<c0d069e22cd7763df229edba487a37c6>>
* @generated SignedSource<<a122067d49badb09490719775cc2bb09>>
*/
"use strict";
@@ -10265,10 +10265,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1240 = {
bundleType: 0,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218",
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$146 = 0;
@@ -10419,4 +10419,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<67a1eb1b5713a9a86d032de82a643efb>>
* @generated SignedSource<<80846458475e4a035042f2bc834eb929>>
*/
"use strict";
@@ -1824,7 +1824,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<743fe5b32ee23f87b07116b7c655ba33>>
* @generated SignedSource<<da81bfc05cee493413cabf2f3cb0ebed>>
*/
"use strict";
@@ -592,4 +592,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<abbccdb99268e33f22f19770ab64596e>>
* @generated SignedSource<<2ddd1beb4eb0faeb82e6ef16f3dcd01d>>
*/
"use strict";
@@ -596,7 +596,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-native-fb-1e9ef39a-20241218";
exports.version = "19.1.0-native-fb-e1d843f4-20241218";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<4869bbd5789c7e0935dab1f78240b6e7>>
* @generated SignedSource<<968dc5b4abe55f8cd2cc60c0fb6f2a60>>
*/
"use strict";
@@ -17436,10 +17436,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218"
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d230c59d8af6162add5df50579703ea3>>
* @generated SignedSource<<922376d2aaeed104b897be880375a775>>
*/
"use strict";
@@ -11095,10 +11095,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1212 = {
bundleType: 0,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218"
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1212.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<24339cd8e12550bff780560d45ab15d7>>
* @generated SignedSource<<257df4dd1ccf2c927528537f6d256c60>>
*/
"use strict";
@@ -11752,10 +11752,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1300 = {
bundleType: 0,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218"
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1300.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<a782e01b58838825cb10976bd18b9dfd>>
* @generated SignedSource<<e1f5104419f62c350d4e2fe8c5e4699c>>
*/
"use strict";
@@ -17659,11 +17659,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-1e9ef39a-20241218" !== isomorphicReactPackageVersion)
if ("19.1.0-native-fb-e1d843f4-20241218" !== 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.1.0-native-fb-1e9ef39a-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.1.0-native-fb-e1d843f4-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -17689,10 +17689,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218"
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<b54db1eb1d774641a24c3c766d3844af>>
* @generated SignedSource<<fb18909b56ee8e1a3ce1e6e55a22dfc0>>
*/
"use strict";
@@ -11227,11 +11227,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-1e9ef39a-20241218" !== isomorphicReactPackageVersion)
if ("19.1.0-native-fb-e1d843f4-20241218" !== 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.1.0-native-fb-1e9ef39a-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.1.0-native-fb-e1d843f4-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11280,10 +11280,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1278 = {
bundleType: 0,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218"
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1278.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<cf93bf6369f6e61784bfb051b673212f>>
* @generated SignedSource<<b7d77bf9ab7d9ad5673191cb3a760dde>>
*/
"use strict";
@@ -11883,11 +11883,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-1e9ef39a-20241218" !== isomorphicReactPackageVersion)
if ("19.1.0-native-fb-e1d843f4-20241218" !== 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.1.0-native-fb-1e9ef39a-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.1.0-native-fb-e1d843f4-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11936,10 +11936,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1366 = {
bundleType: 0,
version: "19.1.0-native-fb-1e9ef39a-20241218",
version: "19.1.0-native-fb-e1d843f4-20241218",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-1e9ef39a-20241218"
reconcilerVersion: "19.1.0-native-fb-e1d843f4-20241218"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1366.rendererConfig = extraDevToolsConfig);