From 5579f7b5c63332cb90576ca278a167d8febdf250 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Thu, 9 Jul 2020 15:09:42 -0400 Subject: [PATCH] Removed TODO comment --- packages/react-reconciler/src/ReactFiberCompleteWork.new.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/react-reconciler/src/ReactFiberCompleteWork.new.js b/packages/react-reconciler/src/ReactFiberCompleteWork.new.js index bf29532eb2d79..f74b3d6da53dd 100644 --- a/packages/react-reconciler/src/ReactFiberCompleteWork.new.js +++ b/packages/react-reconciler/src/ReactFiberCompleteWork.new.js @@ -1063,7 +1063,6 @@ function completeWork( if (renderState.lastEffect === null) { workInProgress.firstEffect = null; workInProgress.subtreeTag = NoEffect; - // TODO (effects) This probably isn't the best approach. Discuss with Brian let child = workInProgress.child; while (child !== null) { child.deletions = null;