@@ -126,6 +126,7 @@ function wwwOnCaughtError(
126
126
127
127
defaultOnCaughtError ( error , errorInfo ) ;
128
128
}
129
+ const noopOnDefaultTransitionIndicator = noop ;
129
130
130
131
export function createRoot (
131
132
container : Element | Document | DocumentFragment ,
@@ -137,6 +138,7 @@ export function createRoot(
137
138
( {
138
139
onUncaughtError : wwwOnUncaughtError ,
139
140
onCaughtError : wwwOnCaughtError ,
141
+ onDefaultTransitionIndicator : noopOnDefaultTransitionIndicator ,
140
142
} : any ) ,
141
143
options ,
142
144
) ,
@@ -155,6 +157,7 @@ export function hydrateRoot(
155
157
( {
156
158
onUncaughtError : wwwOnUncaughtError ,
157
159
onCaughtError : wwwOnCaughtError ,
160
+ onDefaultTransitionIndicator : noopOnDefaultTransitionIndicator ,
158
161
} : any ) ,
159
162
options ,
160
163
) ,
@@ -211,7 +214,6 @@ function getReactRootElementInContainer(container: any) {
211
214
// This isn't reachable because onRecoverableError isn't called in the
212
215
// legacy API.
213
216
const noopOnRecoverableError = noop ;
214
- const noopOnDefaultTransitionIndicator = noop ;
215
217
216
218
function legacyCreateRootFromDOMContainer (
217
219
container : Container ,
0 commit comments