mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Tag MemoComponent with PerformedWork effectTag for DevTools Profiler (#14141)
This commit is contained in:
1 parent
be63473004
commit
5afa1c4eda
1 file changed
+2
@@ -283,6 +283,8 @@ function updateMemoComponent(
|
||||
);
|
||||
}
|
||||
}
|
||||
// React DevTools reads this flag.
|
||||
workInProgress.effectTag |= PerformedWork;
|
||||
let newChild = createWorkInProgress(
|
||||
currentChild,
|
||||
nextProps,
|
||||
|
||||
Reference in new issue
Block a user