@@ -126,6 +126,7 @@ function wwwOnCaughtError(
126126
127127 defaultOnCaughtError ( error , errorInfo ) ;
128128}
129+ const noopOnDefaultTransitionIndicator = noop ;
129130
130131export function createRoot (
131132 container : Element | Document | DocumentFragment ,
@@ -137,6 +138,7 @@ export function createRoot(
137138 ( {
138139 onUncaughtError : wwwOnUncaughtError ,
139140 onCaughtError : wwwOnCaughtError ,
141+ onDefaultTransitionIndicator : noopOnDefaultTransitionIndicator ,
140142 } : any ) ,
141143 options ,
142144 ) ,
@@ -155,6 +157,7 @@ export function hydrateRoot(
155157 ( {
156158 onUncaughtError : wwwOnUncaughtError ,
157159 onCaughtError : wwwOnCaughtError ,
160+ onDefaultTransitionIndicator : noopOnDefaultTransitionIndicator ,
158161 } : any ) ,
159162 options ,
160163 ) ,
@@ -211,7 +214,6 @@ function getReactRootElementInContainer(container: any) {
211214// This isn't reachable because onRecoverableError isn't called in the
212215// legacy API.
213216const noopOnRecoverableError = noop ;
214- const noopOnDefaultTransitionIndicator = noop ;
215217
216218function legacyCreateRootFromDOMContainer (
217219 container : Container ,
0 commit comments