Tag MemoComponent with PerformedWork effectTag for DevTools Profiler (#14141)
This commit is contained in:
parent
be63473004
commit
5afa1c4eda
|
@ -283,6 +283,8 @@ function updateMemoComponent(
|
|||
);
|
||||
}
|
||||
}
|
||||
// React DevTools reads this flag.
|
||||
workInProgress.effectTag |= PerformedWork;
|
||||
let newChild = createWorkInProgress(
|
||||
currentChild,
|
||||
nextProps,
|
||||
|
|
Loading…
Reference in New Issue