@@ -218,10 +218,12 @@ export function attach(
218218 const internalInstance = args [ 0 ] ;
219219 const hostContainerInfo = args [ 3 ] ;
220220 if ( getElementType ( internalInstance ) === ElementTypeOtherOrUnknown ) {
221+ // $FlowFixMe[object-this-reference] found when upgrading Flow
221222 return fn . apply ( this , args ) ;
222223 }
223224 if ( hostContainerInfo . _topLevelWrapper === undefined ) {
224225 // SSR
226+ // $FlowFixMe[object-this-reference] found when upgrading Flow
225227 return fn . apply ( this , args ) ;
226228 }
227229
@@ -241,6 +243,7 @@ export function attach(
241243 ) ;
242244
243245 try {
246+ // $FlowFixMe[object-this-reference] found when upgrading Flow
244247 const result = fn . apply ( this , args ) ;
245248 parentIDStack . pop ( ) ;
246249 return result ;
@@ -260,6 +263,7 @@ export function attach(
260263 performUpdateIfNecessary ( fn , args ) {
261264 const internalInstance = args [ 0 ] ;
262265 if ( getElementType ( internalInstance ) === ElementTypeOtherOrUnknown ) {
266+ // $FlowFixMe[object-this-reference] found when upgrading Flow
263267 return fn . apply ( this , args ) ;
264268 }
265269
@@ -268,6 +272,7 @@ export function attach(
268272
269273 const prevChildren = getChildren ( internalInstance ) ;
270274 try {
275+ // $FlowFixMe[object-this-reference] found when upgrading Flow
271276 const result = fn . apply ( this , args ) ;
272277
273278 const nextChildren = getChildren ( internalInstance ) ;
@@ -294,6 +299,7 @@ export function attach(
294299 receiveComponent ( fn , args ) {
295300 const internalInstance = args [ 0 ] ;
296301 if ( getElementType ( internalInstance ) === ElementTypeOtherOrUnknown ) {
302+ // $FlowFixMe[object-this-reference] found when upgrading Flow
297303 return fn . apply ( this , args ) ;
298304 }
299305
@@ -302,6 +308,7 @@ export function attach(
302308
303309 const prevChildren = getChildren ( internalInstance ) ;
304310 try {
311+ // $FlowFixMe[object-this-reference] found when upgrading Flow
305312 const result = fn . apply ( this , args ) ;
306313
307314 const nextChildren = getChildren ( internalInstance ) ;
@@ -328,12 +335,14 @@ export function attach(
328335 unmountComponent ( fn , args ) {
329336 const internalInstance = args [ 0 ] ;
330337 if ( getElementType ( internalInstance ) === ElementTypeOtherOrUnknown ) {
338+ // $FlowFixMe[object-this-reference] found when upgrading Flow
331339 return fn . apply ( this , args ) ;
332340 }
333341
334342 const id = getID ( internalInstance ) ;
335343 parentIDStack . push ( id ) ;
336344 try {
345+ // $FlowFixMe[object-this-reference] found when upgrading Flow
337346 const result = fn . apply ( this , args ) ;
338347 parentIDStack . pop ( ) ;
339348
0 commit comments