We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8aad4e commit fa54752Copy full SHA for fa54752
packages/react-reconciler/src/ReactFiberCommitWork.js
@@ -401,9 +401,6 @@ export function commitPassiveHookEffects(finishedWork: Fiber): void {
401
case ForwardRef:
402
case SimpleMemoComponent:
403
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.
407
commitHookEffectList(HookPassive, NoHookEffect, finishedWork);
408
commitHookEffectList(NoHookEffect, HookPassive, finishedWork);
409
break;
0 commit comments