Skip to content

Commit 02b8f6c

Browse files
committed
Export addTransitionType for www (#32311)
need dis based api DiffTrain build for [ff62833](ff62833)
1 parent ffbc049 commit 02b8f6c

34 files changed

+128
-86
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
32b411496b92455cede3b286eb37c8b183989051
1+
ff6283340a10bb72ad0fb16ca027606a9ea1e67c
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
32b411496b92455cede3b286eb37c8b183989051
1+
ff6283340a10bb72ad0fb16ca027606a9ea1e67c

compiled/facebook-www/React-dev.classic.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1884,6 +1884,13 @@ __DEV__ &&
18841884
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
18851885
exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE;
18861886
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
1887+
exports.unstable_addTransitionType = function (type) {
1888+
var pendingTransitionTypes = ReactSharedInternals.V;
1889+
null === pendingTransitionTypes
1890+
? (ReactSharedInternals.V = [type])
1891+
: -1 === pendingTransitionTypes.indexOf(type) &&
1892+
pendingTransitionTypes.push(type);
1893+
};
18871894
exports.unstable_getCacheForType = function (resourceType) {
18881895
var dispatcher = ReactSharedInternals.A;
18891896
return dispatcher
@@ -1965,7 +1972,7 @@ __DEV__ &&
19651972
exports.useTransition = function () {
19661973
return resolveDispatcher().useTransition();
19671974
};
1968-
exports.version = "19.1.0-www-classic-32b41149-20250204";
1975+
exports.version = "19.1.0-www-classic-ff628334-20250205";
19691976
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19701977
"function" ===
19711978
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-dev.modern.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1884,6 +1884,13 @@ __DEV__ &&
18841884
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
18851885
exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE;
18861886
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
1887+
exports.unstable_addTransitionType = function (type) {
1888+
var pendingTransitionTypes = ReactSharedInternals.V;
1889+
null === pendingTransitionTypes
1890+
? (ReactSharedInternals.V = [type])
1891+
: -1 === pendingTransitionTypes.indexOf(type) &&
1892+
pendingTransitionTypes.push(type);
1893+
};
18871894
exports.unstable_getCacheForType = function (resourceType) {
18881895
var dispatcher = ReactSharedInternals.A;
18891896
return dispatcher
@@ -1965,7 +1972,7 @@ __DEV__ &&
19651972
exports.useTransition = function () {
19661973
return resolveDispatcher().useTransition();
19671974
};
1968-
exports.version = "19.1.0-www-modern-32b41149-20250204";
1975+
exports.version = "19.1.0-www-modern-ff628334-20250205";
19691976
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19701977
"function" ===
19711978
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-prod.classic.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,13 @@ exports.unstable_Scope = REACT_SCOPE_TYPE;
564564
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
565565
exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE;
566566
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
567+
exports.unstable_addTransitionType = function (type) {
568+
var pendingTransitionTypes = ReactSharedInternals.V;
569+
null === pendingTransitionTypes
570+
? (ReactSharedInternals.V = [type])
571+
: -1 === pendingTransitionTypes.indexOf(type) &&
572+
pendingTransitionTypes.push(type);
573+
};
567574
exports.unstable_getCacheForType = function (resourceType) {
568575
var dispatcher = ReactSharedInternals.A;
569576
return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType();
@@ -632,4 +639,4 @@ exports.useSyncExternalStore = function (
632639
exports.useTransition = function () {
633640
return ReactSharedInternals.H.useTransition();
634641
};
635-
exports.version = "19.1.0-www-classic-32b41149-20250204";
642+
exports.version = "19.1.0-www-classic-ff628334-20250205";

compiled/facebook-www/React-prod.modern.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,13 @@ exports.unstable_Scope = REACT_SCOPE_TYPE;
564564
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
565565
exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE;
566566
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
567+
exports.unstable_addTransitionType = function (type) {
568+
var pendingTransitionTypes = ReactSharedInternals.V;
569+
null === pendingTransitionTypes
570+
? (ReactSharedInternals.V = [type])
571+
: -1 === pendingTransitionTypes.indexOf(type) &&
572+
pendingTransitionTypes.push(type);
573+
};
567574
exports.unstable_getCacheForType = function (resourceType) {
568575
var dispatcher = ReactSharedInternals.A;
569576
return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType();
@@ -632,4 +639,4 @@ exports.useSyncExternalStore = function (
632639
exports.useTransition = function () {
633640
return ReactSharedInternals.H.useTransition();
634641
};
635-
exports.version = "19.1.0-www-modern-32b41149-20250204";
642+
exports.version = "19.1.0-www-modern-ff628334-20250205";

compiled/facebook-www/React-profiling.classic.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,13 @@ exports.unstable_Scope = REACT_SCOPE_TYPE;
568568
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
569569
exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE;
570570
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
571+
exports.unstable_addTransitionType = function (type) {
572+
var pendingTransitionTypes = ReactSharedInternals.V;
573+
null === pendingTransitionTypes
574+
? (ReactSharedInternals.V = [type])
575+
: -1 === pendingTransitionTypes.indexOf(type) &&
576+
pendingTransitionTypes.push(type);
577+
};
571578
exports.unstable_getCacheForType = function (resourceType) {
572579
var dispatcher = ReactSharedInternals.A;
573580
return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType();
@@ -636,7 +643,7 @@ exports.useSyncExternalStore = function (
636643
exports.useTransition = function () {
637644
return ReactSharedInternals.H.useTransition();
638645
};
639-
exports.version = "19.1.0-www-classic-32b41149-20250204";
646+
exports.version = "19.1.0-www-classic-ff628334-20250205";
640647
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
641648
"function" ===
642649
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-profiling.modern.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,13 @@ exports.unstable_Scope = REACT_SCOPE_TYPE;
568568
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
569569
exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE;
570570
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
571+
exports.unstable_addTransitionType = function (type) {
572+
var pendingTransitionTypes = ReactSharedInternals.V;
573+
null === pendingTransitionTypes
574+
? (ReactSharedInternals.V = [type])
575+
: -1 === pendingTransitionTypes.indexOf(type) &&
576+
pendingTransitionTypes.push(type);
577+
};
571578
exports.unstable_getCacheForType = function (resourceType) {
572579
var dispatcher = ReactSharedInternals.A;
573580
return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType();
@@ -636,7 +643,7 @@ exports.useSyncExternalStore = function (
636643
exports.useTransition = function () {
637644
return ReactSharedInternals.H.useTransition();
638645
};
639-
exports.version = "19.1.0-www-modern-32b41149-20250204";
646+
exports.version = "19.1.0-www-modern-ff628334-20250205";
640647
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
641648
"function" ===
642649
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17417,10 +17417,10 @@ __DEV__ &&
1741717417
(function () {
1741817418
var internals = {
1741917419
bundleType: 1,
17420-
version: "19.1.0-www-classic-32b41149-20250204",
17420+
version: "19.1.0-www-classic-ff628334-20250205",
1742117421
rendererPackageName: "react-art",
1742217422
currentDispatcherRef: ReactSharedInternals,
17423-
reconcilerVersion: "19.1.0-www-classic-32b41149-20250204"
17423+
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
1742417424
};
1742517425
internals.overrideHookState = overrideHookState;
1742617426
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17454,7 +17454,7 @@ __DEV__ &&
1745417454
exports.Shape = Shape;
1745517455
exports.Surface = Surface;
1745617456
exports.Text = Text;
17457-
exports.version = "19.1.0-www-classic-32b41149-20250204";
17457+
exports.version = "19.1.0-www-classic-ff628334-20250205";
1745817458
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1745917459
"function" ===
1746017460
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.modern.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17189,10 +17189,10 @@ __DEV__ &&
1718917189
(function () {
1719017190
var internals = {
1719117191
bundleType: 1,
17192-
version: "19.1.0-www-modern-32b41149-20250204",
17192+
version: "19.1.0-www-modern-ff628334-20250205",
1719317193
rendererPackageName: "react-art",
1719417194
currentDispatcherRef: ReactSharedInternals,
17195-
reconcilerVersion: "19.1.0-www-modern-32b41149-20250204"
17195+
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
1719617196
};
1719717197
internals.overrideHookState = overrideHookState;
1719817198
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17226,7 +17226,7 @@ __DEV__ &&
1722617226
exports.Shape = Shape;
1722717227
exports.Surface = Surface;
1722817228
exports.Text = Text;
17229-
exports.version = "19.1.0-www-modern-32b41149-20250204";
17229+
exports.version = "19.1.0-www-modern-ff628334-20250205";
1723017230
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1723117231
"function" ===
1723217232
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)