@@ -53,7 +53,7 @@ import {
53
53
SuspenseListComponent ,
54
54
FundamentalComponent ,
55
55
ScopeComponent ,
56
- Chunk ,
56
+ Block ,
57
57
} from 'shared/ReactWorkTags' ;
58
58
import {
59
59
invokeGuardedCallback ,
@@ -249,7 +249,7 @@ function commitBeforeMutationLifeCycles(
249
249
case FunctionComponent :
250
250
case ForwardRef :
251
251
case SimpleMemoComponent :
252
- case Chunk : {
252
+ case Block : {
253
253
return ;
254
254
}
255
255
case ClassComponent : {
@@ -426,7 +426,7 @@ export function commitPassiveHookEffects(finishedWork: Fiber): void {
426
426
case FunctionComponent :
427
427
case ForwardRef :
428
428
case SimpleMemoComponent :
429
- case Chunk : {
429
+ case Block : {
430
430
// TODO (#17945) We should call all passive destroy functions (for all fibers)
431
431
// before calling any create functions. The current approach only serializes
432
432
// these for a single fiber.
@@ -450,7 +450,7 @@ function commitLifeCycles(
450
450
case FunctionComponent :
451
451
case ForwardRef :
452
452
case SimpleMemoComponent :
453
- case Chunk : {
453
+ case Block : {
454
454
// At this point layout effects have already been destroyed (during mutation phase).
455
455
// This is done to prevent sibling component effects from interfering with each other,
456
456
// e.g. a destroy function in one component should never override a ref set
@@ -779,7 +779,7 @@ function commitUnmount(
779
779
case ForwardRef :
780
780
case MemoComponent :
781
781
case SimpleMemoComponent :
782
- case Chunk : {
782
+ case Block : {
783
783
const updateQueue : FunctionComponentUpdateQueue | null = ( current . updateQueue : any ) ;
784
784
if ( updateQueue !== null ) {
785
785
const lastEffect = updateQueue . lastEffect ;
@@ -1360,7 +1360,7 @@ function commitWork(current: Fiber | null, finishedWork: Fiber): void {
1360
1360
case ForwardRef :
1361
1361
case MemoComponent :
1362
1362
case SimpleMemoComponent :
1363
- case Chunk : {
1363
+ case Block : {
1364
1364
// Layout effects are destroyed during the mutation phase so that all
1365
1365
// destroy functions for all fibers are called before any create functions.
1366
1366
// This prevents sibling component effects from interfering with each other,
@@ -1403,7 +1403,7 @@ function commitWork(current: Fiber | null, finishedWork: Fiber): void {
1403
1403
case ForwardRef :
1404
1404
case MemoComponent :
1405
1405
case SimpleMemoComponent :
1406
- case Chunk : {
1406
+ case Block : {
1407
1407
// Layout effects are destroyed during the mutation phase so that all
1408
1408
// destroy functions for all fibers are called before any create functions.
1409
1409
// This prevents sibling component effects from interfering with each other,
0 commit comments