Skip to content

Commit fa54752

Browse files
author
Brian Vaughn
committed
Removed outdated TODO comment
1 parent f8aad4e commit fa54752

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/react-reconciler/src/ReactFiberCommitWork.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,6 @@ export function commitPassiveHookEffects(finishedWork: Fiber): void {
401401
case ForwardRef:
402402
case SimpleMemoComponent:
403403
case Chunk: {
404-
// TODO (#17945) We should call all passive destroy functions (for all fibers)
405-
// before calling any create functions. The current approach only serializes
406-
// these for a single fiber.
407404
commitHookEffectList(HookPassive, NoHookEffect, finishedWork);
408405
commitHookEffectList(NoHookEffect, HookPassive, finishedWork);
409406
break;

0 commit comments

Comments
 (0)