@@ -212,6 +212,7 @@ function safelyCallComponentWillUnmount(
212
212
}
213
213
}
214
214
215
+ /** @noinline */
215
216
function safelyDetachRef ( current : Fiber , nearestMountedAncestor : Fiber ) {
216
217
const ref = current . ref ;
217
218
if ( ref !== null ) {
@@ -279,6 +280,7 @@ export function safelyCallDestroy(
279
280
}
280
281
}
281
282
283
+ /** @noinline */
282
284
function commitHookEffectListUnmount (
283
285
flags : HookFlags ,
284
286
finishedWork : Fiber ,
@@ -303,6 +305,7 @@ function commitHookEffectListUnmount(
303
305
}
304
306
}
305
307
308
+ /** @noinline */
306
309
function commitHookEffectListMount ( flags : HookFlags , finishedWork : Fiber ) {
307
310
const updateQueue : FunctionComponentUpdateQueue | null = ( finishedWork . updateQueue : any ) ;
308
311
const lastEffect = updateQueue !== null ? updateQueue . lastEffect : null ;
@@ -512,6 +515,7 @@ function iterativelyCommitBeforeMutationEffects_complete() {
512
515
}
513
516
}
514
517
518
+ /** @noinline */
515
519
function commitBeforeMutationEffectsOnFiber ( finishedWork : Fiber ) {
516
520
const current = finishedWork . alternate ;
517
521
const flags = finishedWork . flags ;
@@ -627,6 +631,7 @@ function commitBeforeMutationEffectsOnFiber(finishedWork: Fiber) {
627
631
}
628
632
}
629
633
634
+ /** @noinline */
630
635
function commitBeforeMutationEffectsDeletions ( deletions : Array < Fiber > ) {
631
636
for ( let i = 0 ; i < deletions . length ; i ++ ) {
632
637
const fiber = deletions [ i ] ;
@@ -778,6 +783,7 @@ function iterativelyCommitMutationEffects_complete(
778
783
}
779
784
}
780
785
786
+ /** @noinline */
781
787
function commitMutationEffectsOnFiber (
782
788
fiber : Fiber ,
783
789
root : FiberRoot ,
@@ -848,6 +854,7 @@ function commitMutationEffectsOnFiber(
848
854
}
849
855
}
850
856
857
+ /** @noinline */
851
858
function commitMutationEffectsDeletions (
852
859
deletions : Array < Fiber > ,
853
860
nearestMountedAncestor : Fiber ,
@@ -1342,6 +1349,7 @@ function commitLayoutEffectsOnFiber(
1342
1349
}
1343
1350
}
1344
1351
1352
+ /** @noinline */
1345
1353
function commitLayoutEffectsForProfiler (
1346
1354
finishedWork : Fiber ,
1347
1355
finishedRoot : FiberRoot ,
@@ -1407,6 +1415,7 @@ function commitLayoutEffectsForProfiler(
1407
1415
}
1408
1416
}
1409
1417
1418
+ /** @noinline */
1410
1419
function commitLayoutEffectsForClassComponent ( finishedWork : Fiber ) {
1411
1420
const instance = finishedWork . stateNode ;
1412
1421
const current = finishedWork . alternate ;
@@ -1555,6 +1564,7 @@ function commitLayoutEffectsForClassComponent(finishedWork: Fiber) {
1555
1564
}
1556
1565
}
1557
1566
1567
+ /** @noinline */
1558
1568
function commitLayoutEffectsForHostRoot ( finishedWork : Fiber ) {
1559
1569
// TODO: I think this is now always non-null by the time it reaches the
1560
1570
// commit phase. Consider removing the type check.
@@ -1575,6 +1585,7 @@ function commitLayoutEffectsForHostRoot(finishedWork: Fiber) {
1575
1585
}
1576
1586
}
1577
1587
1588
+ /** @noinline */
1578
1589
function commitLayoutEffectsForHostComponent ( finishedWork : Fiber ) {
1579
1590
const instance : Instance = finishedWork . stateNode ;
1580
1591
const current = finishedWork . alternate ;
@@ -1590,6 +1601,7 @@ function commitLayoutEffectsForHostComponent(finishedWork: Fiber) {
1590
1601
}
1591
1602
}
1592
1603
1604
+ /** @noinline */
1593
1605
function hideOrUnhideAllChildren ( finishedWork , isHidden ) {
1594
1606
if ( supportsMutation ) {
1595
1607
// We only have the top Fiber that was inserted but we need to recurse down its
@@ -2950,6 +2962,7 @@ function commitSuspenseComponent(finishedWork: Fiber) {
2950
2962
}
2951
2963
}
2952
2964
2965
+ /** @noinline */
2953
2966
function commitSuspenseHydrationCallbacks (
2954
2967
finishedRoot : FiberRoot ,
2955
2968
finishedWork : Fiber ,
0 commit comments