Skip to content

Commit 153a7ff

Browse files
committed
[internal] revert change merged accidentally (facebook#35546)
I accidentally pushed this to new flag to facebook#35541 and then merged it. Reverting it so I can submit a review. DiffTrain build for [be3fb29](facebook@be3fb29)
1 parent 0b23c46 commit 153a7ff

File tree

21 files changed

+736
-736
lines changed

21 files changed

+736
-736
lines changed

compiled-rn/VERSION_NATIVE_FB

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.3.0-native-fb-01c4d03d-20260116
1+
19.3.0-native-fb-be3fb299-20260117

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<288110d072ea59433f9249a22f96a2da>>
10+
* @generated SignedSource<<19391db5bb206f3bc2e40e3fce3348bb>>
1111
*/
1212

1313
"use strict";
@@ -410,5 +410,5 @@ __DEV__ &&
410410
exports.useFormStatus = function () {
411411
return resolveDispatcher().useHostTransitionStatus();
412412
};
413-
exports.version = "19.3.0-native-fb-01c4d03d-20260116";
413+
exports.version = "19.3.0-native-fb-be3fb299-20260117";
414414
})();

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<672fbadafc7f468b9c187dc9428d8142>>
10+
* @generated SignedSource<<85b5f950d05cfb4921b760af7c18af1b>>
1111
*/
1212

1313
"use strict";
@@ -209,4 +209,4 @@ exports.useFormState = function (action, initialState, permalink) {
209209
exports.useFormStatus = function () {
210210
return ReactSharedInternals.H.useHostTransitionStatus();
211211
};
212-
exports.version = "19.3.0-native-fb-01c4d03d-20260116";
212+
exports.version = "19.3.0-native-fb-be3fb299-20260117";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<672fbadafc7f468b9c187dc9428d8142>>
10+
* @generated SignedSource<<85b5f950d05cfb4921b760af7c18af1b>>
1111
*/
1212

1313
"use strict";
@@ -209,4 +209,4 @@ exports.useFormState = function (action, initialState, permalink) {
209209
exports.useFormStatus = function () {
210210
return ReactSharedInternals.H.useHostTransitionStatus();
211211
};
212-
exports.version = "19.3.0-native-fb-01c4d03d-20260116";
212+
exports.version = "19.3.0-native-fb-be3fb299-20260117";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<6dd70a9d6b9f0e4a30678894c130f216>>
10+
* @generated SignedSource<<3f359dc7a95571d6a6cfa99c09146cf5>>
1111
*/
1212

1313
/*
@@ -28173,10 +28173,10 @@ __DEV__ &&
2817328173
useActionState: throwInvalidHookError,
2817428174
useOptimistic: throwInvalidHookError,
2817528175
useMemoCache: throwInvalidHookError,
28176-
useCacheRefresh: throwInvalidHookError
28177-
};
28178-
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
28179-
var HooksDispatcherOnMountInDEV = null,
28176+
useCacheRefresh: throwInvalidHookError,
28177+
useEffectEvent: throwInvalidHookError
28178+
},
28179+
HooksDispatcherOnMountInDEV = null,
2818028180
HooksDispatcherOnMountWithHookTypesInDEV = null,
2818128181
HooksDispatcherOnUpdateInDEV = null,
2818228182
HooksDispatcherOnRerenderInDEV = null,
@@ -30276,11 +30276,11 @@ __DEV__ &&
3027630276
};
3027730277
(function () {
3027830278
var isomorphicReactPackageVersion = React.version;
30279-
if ("19.3.0-native-fb-01c4d03d-20260116" !== isomorphicReactPackageVersion)
30279+
if ("19.3.0-native-fb-be3fb299-20260117" !== isomorphicReactPackageVersion)
3028030280
throw Error(
3028130281
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3028230282
(isomorphicReactPackageVersion +
30283-
"\n - react-dom: 19.3.0-native-fb-01c4d03d-20260116\nLearn more: https://react.dev/warnings/version-mismatch")
30283+
"\n - react-dom: 19.3.0-native-fb-be3fb299-20260117\nLearn more: https://react.dev/warnings/version-mismatch")
3028430284
);
3028530285
})();
3028630286
("function" === typeof Map &&
@@ -30317,10 +30317,10 @@ __DEV__ &&
3031730317
!(function () {
3031830318
var internals = {
3031930319
bundleType: 1,
30320-
version: "19.3.0-native-fb-01c4d03d-20260116",
30320+
version: "19.3.0-native-fb-be3fb299-20260117",
3032130321
rendererPackageName: "react-dom",
3032230322
currentDispatcherRef: ReactSharedInternals,
30323-
reconcilerVersion: "19.3.0-native-fb-01c4d03d-20260116"
30323+
reconcilerVersion: "19.3.0-native-fb-be3fb299-20260117"
3032430324
};
3032530325
internals.overrideHookState = overrideHookState;
3032630326
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30470,5 +30470,5 @@ __DEV__ &&
3047030470
listenToAllSupportedEvents(container);
3047130471
return new ReactDOMHydrationRoot(initialChildren);
3047230472
};
30473-
exports.version = "19.3.0-native-fb-01c4d03d-20260116";
30473+
exports.version = "19.3.0-native-fb-be3fb299-20260117";
3047430474
})();

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js

Lines changed: 87 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<5f78a51e0a0224b874ec38c24ba973da>>
10+
* @generated SignedSource<<5b2312ea326e43a48de4ff3a82f62d7f>>
1111
*/
1212

1313
/*
@@ -5746,32 +5746,32 @@ function entangleTransitionUpdate(root, queue, lane) {
57465746
}
57475747
}
57485748
var ContextOnlyDispatcher = {
5749-
readContext: readContext,
5750-
use: use,
5751-
useCallback: throwInvalidHookError,
5752-
useContext: throwInvalidHookError,
5753-
useEffect: throwInvalidHookError,
5754-
useImperativeHandle: throwInvalidHookError,
5755-
useLayoutEffect: throwInvalidHookError,
5756-
useInsertionEffect: throwInvalidHookError,
5757-
useMemo: throwInvalidHookError,
5758-
useReducer: throwInvalidHookError,
5759-
useRef: throwInvalidHookError,
5760-
useState: throwInvalidHookError,
5761-
useDebugValue: throwInvalidHookError,
5762-
useDeferredValue: throwInvalidHookError,
5763-
useTransition: throwInvalidHookError,
5764-
useSyncExternalStore: throwInvalidHookError,
5765-
useId: throwInvalidHookError,
5766-
useHostTransitionStatus: throwInvalidHookError,
5767-
useFormState: throwInvalidHookError,
5768-
useActionState: throwInvalidHookError,
5769-
useOptimistic: throwInvalidHookError,
5770-
useMemoCache: throwInvalidHookError,
5771-
useCacheRefresh: throwInvalidHookError
5772-
};
5773-
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
5774-
var HooksDispatcherOnMount = {
5749+
readContext: readContext,
5750+
use: use,
5751+
useCallback: throwInvalidHookError,
5752+
useContext: throwInvalidHookError,
5753+
useEffect: throwInvalidHookError,
5754+
useImperativeHandle: throwInvalidHookError,
5755+
useLayoutEffect: throwInvalidHookError,
5756+
useInsertionEffect: throwInvalidHookError,
5757+
useMemo: throwInvalidHookError,
5758+
useReducer: throwInvalidHookError,
5759+
useRef: throwInvalidHookError,
5760+
useState: throwInvalidHookError,
5761+
useDebugValue: throwInvalidHookError,
5762+
useDeferredValue: throwInvalidHookError,
5763+
useTransition: throwInvalidHookError,
5764+
useSyncExternalStore: throwInvalidHookError,
5765+
useId: throwInvalidHookError,
5766+
useHostTransitionStatus: throwInvalidHookError,
5767+
useFormState: throwInvalidHookError,
5768+
useActionState: throwInvalidHookError,
5769+
useOptimistic: throwInvalidHookError,
5770+
useMemoCache: throwInvalidHookError,
5771+
useCacheRefresh: throwInvalidHookError,
5772+
useEffectEvent: throwInvalidHookError
5773+
},
5774+
HooksDispatcherOnMount = {
57755775
readContext: readContext,
57765776
use: use,
57775777
useCallback: function (callback, deps) {
@@ -6018,62 +6018,62 @@ var HooksDispatcherOnMount = {
60186018
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
60196019
},
60206020
useMemoCache: useMemoCache,
6021-
useCacheRefresh: updateRefresh
6022-
};
6023-
HooksDispatcherOnUpdate.useEffectEvent = updateEvent;
6024-
var HooksDispatcherOnRerender = {
6025-
readContext: readContext,
6026-
use: use,
6027-
useCallback: updateCallback,
6028-
useContext: readContext,
6029-
useEffect: updateEffect,
6030-
useImperativeHandle: updateImperativeHandle,
6031-
useInsertionEffect: updateInsertionEffect,
6032-
useLayoutEffect: updateLayoutEffect,
6033-
useMemo: updateMemo,
6034-
useReducer: rerenderReducer,
6035-
useRef: updateRef,
6036-
useState: function () {
6037-
return rerenderReducer(basicStateReducer);
6038-
},
6039-
useDebugValue: mountDebugValue,
6040-
useDeferredValue: function (value, initialValue) {
6041-
var hook = updateWorkInProgressHook();
6042-
return null === currentHook
6043-
? mountDeferredValueImpl(hook, value, initialValue)
6044-
: updateDeferredValueImpl(
6045-
hook,
6046-
currentHook.memoizedState,
6047-
value,
6048-
initialValue
6049-
);
6050-
},
6051-
useTransition: function () {
6052-
var booleanOrThenable = rerenderReducer(basicStateReducer)[0],
6053-
start = updateWorkInProgressHook().memoizedState;
6054-
return [
6055-
"boolean" === typeof booleanOrThenable
6056-
? booleanOrThenable
6057-
: useThenable(booleanOrThenable),
6058-
start
6059-
];
6060-
},
6061-
useSyncExternalStore: updateSyncExternalStore,
6062-
useId: updateId,
6063-
useHostTransitionStatus: useHostTransitionStatus,
6064-
useFormState: rerenderActionState,
6065-
useActionState: rerenderActionState,
6066-
useOptimistic: function (passthrough, reducer) {
6067-
var hook = updateWorkInProgressHook();
6068-
if (null !== currentHook)
6069-
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
6070-
hook.baseState = passthrough;
6071-
return [passthrough, hook.queue.dispatch];
6021+
useCacheRefresh: updateRefresh,
6022+
useEffectEvent: updateEvent
60726023
},
6073-
useMemoCache: useMemoCache,
6074-
useCacheRefresh: updateRefresh
6075-
};
6076-
HooksDispatcherOnRerender.useEffectEvent = updateEvent;
6024+
HooksDispatcherOnRerender = {
6025+
readContext: readContext,
6026+
use: use,
6027+
useCallback: updateCallback,
6028+
useContext: readContext,
6029+
useEffect: updateEffect,
6030+
useImperativeHandle: updateImperativeHandle,
6031+
useInsertionEffect: updateInsertionEffect,
6032+
useLayoutEffect: updateLayoutEffect,
6033+
useMemo: updateMemo,
6034+
useReducer: rerenderReducer,
6035+
useRef: updateRef,
6036+
useState: function () {
6037+
return rerenderReducer(basicStateReducer);
6038+
},
6039+
useDebugValue: mountDebugValue,
6040+
useDeferredValue: function (value, initialValue) {
6041+
var hook = updateWorkInProgressHook();
6042+
return null === currentHook
6043+
? mountDeferredValueImpl(hook, value, initialValue)
6044+
: updateDeferredValueImpl(
6045+
hook,
6046+
currentHook.memoizedState,
6047+
value,
6048+
initialValue
6049+
);
6050+
},
6051+
useTransition: function () {
6052+
var booleanOrThenable = rerenderReducer(basicStateReducer)[0],
6053+
start = updateWorkInProgressHook().memoizedState;
6054+
return [
6055+
"boolean" === typeof booleanOrThenable
6056+
? booleanOrThenable
6057+
: useThenable(booleanOrThenable),
6058+
start
6059+
];
6060+
},
6061+
useSyncExternalStore: updateSyncExternalStore,
6062+
useId: updateId,
6063+
useHostTransitionStatus: useHostTransitionStatus,
6064+
useFormState: rerenderActionState,
6065+
useActionState: rerenderActionState,
6066+
useOptimistic: function (passthrough, reducer) {
6067+
var hook = updateWorkInProgressHook();
6068+
if (null !== currentHook)
6069+
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
6070+
hook.baseState = passthrough;
6071+
return [passthrough, hook.queue.dispatch];
6072+
},
6073+
useMemoCache: useMemoCache,
6074+
useCacheRefresh: updateRefresh,
6075+
useEffectEvent: updateEvent
6076+
};
60776077
function applyDerivedStateFromProps(
60786078
workInProgress,
60796079
ctor,
@@ -17719,14 +17719,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1771917719
};
1772017720
var isomorphicReactPackageVersion$jscomp$inline_2054 = React.version;
1772117721
if (
17722-
"19.3.0-native-fb-01c4d03d-20260116" !==
17722+
"19.3.0-native-fb-be3fb299-20260117" !==
1772317723
isomorphicReactPackageVersion$jscomp$inline_2054
1772417724
)
1772517725
throw Error(
1772617726
formatProdErrorMessage(
1772717727
527,
1772817728
isomorphicReactPackageVersion$jscomp$inline_2054,
17729-
"19.3.0-native-fb-01c4d03d-20260116"
17729+
"19.3.0-native-fb-be3fb299-20260117"
1773017730
)
1773117731
);
1773217732
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17748,10 +17748,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1774817748
};
1774917749
var internals$jscomp$inline_2638 = {
1775017750
bundleType: 0,
17751-
version: "19.3.0-native-fb-01c4d03d-20260116",
17751+
version: "19.3.0-native-fb-be3fb299-20260117",
1775217752
rendererPackageName: "react-dom",
1775317753
currentDispatcherRef: ReactSharedInternals,
17754-
reconcilerVersion: "19.3.0-native-fb-01c4d03d-20260116"
17754+
reconcilerVersion: "19.3.0-native-fb-be3fb299-20260117"
1775517755
};
1775617756
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1775717757
var hook$jscomp$inline_2639 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17858,4 +17858,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1785817858
listenToAllSupportedEvents(container);
1785917859
return new ReactDOMHydrationRoot(initialChildren);
1786017860
};
17861-
exports.version = "19.3.0-native-fb-01c4d03d-20260116";
17861+
exports.version = "19.3.0-native-fb-be3fb299-20260117";

0 commit comments

Comments
 (0)