Skip to content

Commit

Permalink
Removed TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Jul 10, 2020
1 parent 2badf9d commit 5579f7b
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5579f7b

Please sign in to comment.