Tag MemoComponent with PerformedWork effectTag for DevTools Profiler (#14141)

This commit is contained in:
Brian Vaughn authored and GitHub committed 2018-11-07 13:56:12 -08:00
1 parent be63473004
commit 5afa1c4eda
1 file changed
+2
+2
View File
@@ -283,6 +283,8 @@ function updateMemoComponent(
);
}
}
// React DevTools reads this flag.
workInProgress.effectTag |= PerformedWork;
let newChild = createWorkInProgress(
currentChild,
nextProps,