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

This commit is contained in:
Brian Vaughn 2018-11-07 13:56:12 -08:00 committed by GitHub
parent be63473004
commit 5afa1c4eda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -283,6 +283,8 @@ function updateMemoComponent(
);
}
}
// React DevTools reads this flag.
workInProgress.effectTag |= PerformedWork;
let newChild = createWorkInProgress(
currentChild,
nextProps,