@@ -145,6 +145,7 @@ __DEV__ &&
145145 case REACT_SUSPENSE_LIST_TYPE :
146146 return "SuspenseList" ;
147147 case REACT_VIEW_TRANSITION_TYPE :
148+ if ( enableViewTransition ) return "ViewTransition" ;
148149 case REACT_TRACING_MARKER_TYPE :
149150 if ( enableTransitionTracing ) return "TracingMarker" ;
150151 }
@@ -202,6 +203,7 @@ __DEV__ &&
202203 type === REACT_OFFSCREEN_TYPE ||
203204 type === REACT_SCOPE_TYPE ||
204205 ( enableTransitionTracing && type === REACT_TRACING_MARKER_TYPE ) ||
206+ ( enableViewTransition && type === REACT_VIEW_TRANSITION_TYPE ) ||
205207 ( "object" === typeof type &&
206208 null !== type &&
207209 ( type . $$typeof === REACT_LAZY_TYPE ||
@@ -451,6 +453,9 @@ __DEV__ &&
451453 return describeBuiltInComponentFrame ( "Suspense" ) ;
452454 case REACT_SUSPENSE_LIST_TYPE :
453455 return describeBuiltInComponentFrame ( "SuspenseList" ) ;
456+ case REACT_VIEW_TRANSITION_TYPE :
457+ if ( enableViewTransition )
458+ return describeBuiltInComponentFrame ( "ViewTransition" ) ;
454459 }
455460 if ( "object" === typeof type )
456461 switch ( type . $$typeof ) {
@@ -1125,6 +1130,7 @@ __DEV__ &&
11251130 dynamicFeatureFlags . enableUseResourceEffectHook ,
11261131 renameElementSymbol = dynamicFeatureFlags . renameElementSymbol ,
11271132 enableOwnerStacks = dynamicFeatureFlags . enableOwnerStacks ,
1133+ enableViewTransition = dynamicFeatureFlags . enableViewTransition ,
11281134 REACT_LEGACY_ELEMENT_TYPE = Symbol . for ( "react.element" ) ,
11291135 REACT_ELEMENT_TYPE = renameElementSymbol
11301136 ? Symbol . for ( "react.transitional.element" )
@@ -1877,6 +1883,14 @@ __DEV__ &&
18771883 exports . unstable_Scope = REACT_SCOPE_TYPE ;
18781884 exports . unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE ;
18791885 exports . unstable_TracingMarker = REACT_TRACING_MARKER_TYPE ;
1886+ 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+ } ;
18801894 exports . unstable_getCacheForType = function ( resourceType ) {
18811895 var dispatcher = ReactSharedInternals . A ;
18821896 return dispatcher
@@ -1958,7 +1972,7 @@ __DEV__ &&
19581972 exports . useTransition = function ( ) {
19591973 return resolveDispatcher ( ) . useTransition ( ) ;
19601974 } ;
1961- exports . version = "19.1.0-www-classic-152bfe37-20250131 " ;
1975+ exports . version = "19.1.0-www-classic-ff628334-20250205 " ;
19621976 "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19631977 "function" ===
19641978 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ . registerInternalModuleStop &&
0 commit comments