@@ -145,6 +145,7 @@ __DEV__ &&
145
145
case REACT_SUSPENSE_LIST_TYPE :
146
146
return "SuspenseList" ;
147
147
case REACT_VIEW_TRANSITION_TYPE :
148
+ if ( enableViewTransition ) return "ViewTransition" ;
148
149
case REACT_TRACING_MARKER_TYPE :
149
150
if ( enableTransitionTracing ) return "TracingMarker" ;
150
151
}
@@ -202,6 +203,7 @@ __DEV__ &&
202
203
type === REACT_OFFSCREEN_TYPE ||
203
204
type === REACT_SCOPE_TYPE ||
204
205
( enableTransitionTracing && type === REACT_TRACING_MARKER_TYPE ) ||
206
+ ( enableViewTransition && type === REACT_VIEW_TRANSITION_TYPE ) ||
205
207
( "object" === typeof type &&
206
208
null !== type &&
207
209
( type . $$typeof === REACT_LAZY_TYPE ||
@@ -451,6 +453,9 @@ __DEV__ &&
451
453
return describeBuiltInComponentFrame ( "Suspense" ) ;
452
454
case REACT_SUSPENSE_LIST_TYPE :
453
455
return describeBuiltInComponentFrame ( "SuspenseList" ) ;
456
+ case REACT_VIEW_TRANSITION_TYPE :
457
+ if ( enableViewTransition )
458
+ return describeBuiltInComponentFrame ( "ViewTransition" ) ;
454
459
}
455
460
if ( "object" === typeof type )
456
461
switch ( type . $$typeof ) {
@@ -1125,6 +1130,7 @@ __DEV__ &&
1125
1130
dynamicFeatureFlags . enableUseResourceEffectHook ,
1126
1131
renameElementSymbol = dynamicFeatureFlags . renameElementSymbol ,
1127
1132
enableOwnerStacks = dynamicFeatureFlags . enableOwnerStacks ,
1133
+ enableViewTransition = dynamicFeatureFlags . enableViewTransition ,
1128
1134
REACT_LEGACY_ELEMENT_TYPE = Symbol . for ( "react.element" ) ,
1129
1135
REACT_ELEMENT_TYPE = renameElementSymbol
1130
1136
? Symbol . for ( "react.transitional.element" )
@@ -1877,6 +1883,7 @@ __DEV__ &&
1877
1883
exports . unstable_Scope = REACT_SCOPE_TYPE ;
1878
1884
exports . unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE ;
1879
1885
exports . unstable_TracingMarker = REACT_TRACING_MARKER_TYPE ;
1886
+ exports . unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE ;
1880
1887
exports . unstable_getCacheForType = function ( resourceType ) {
1881
1888
var dispatcher = ReactSharedInternals . A ;
1882
1889
return dispatcher
@@ -1958,7 +1965,7 @@ __DEV__ &&
1958
1965
exports . useTransition = function ( ) {
1959
1966
return resolveDispatcher ( ) . useTransition ( ) ;
1960
1967
} ;
1961
- exports . version = "19.1.0-www-classic-152bfe37-20250131 " ;
1968
+ exports . version = "19.1.0-www-classic-32b41149-20250204 " ;
1962
1969
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1963
1970
"function" ===
1964
1971
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ . registerInternalModuleStop &&
0 commit comments