Skip to content

Commit

Permalink
Removed outdated TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Jan 31, 2020
1 parent f8aad4e commit fa54752
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/react-reconciler/src/ReactFiberCommitWork.js
Expand Up @@ -401,9 +401,6 @@ export function commitPassiveHookEffects(finishedWork: Fiber): void {
case ForwardRef:
case SimpleMemoComponent:
case Chunk: {
// TODO (#17945) We should call all passive destroy functions (for all fibers)
// before calling any create functions. The current approach only serializes
// these for a single fiber.
commitHookEffectList(HookPassive, NoHookEffect, finishedWork);
commitHookEffectList(NoHookEffect, HookPassive, finishedWork);
break;
Expand Down

0 comments on commit fa54752

Please sign in to comment.