Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DevTools] Fix: highlight updates with memoized components
Browse files Browse the repository at this point in the history
Selnapenek committed Aug 2, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 4225133 commit 668ef9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-devtools-shared/src/backend/renderer.js
Original file line number Diff line number Diff line change
@@ -2179,7 +2179,8 @@ export function attach(
if (
elementType === ElementTypeFunction ||
elementType === ElementTypeClass ||
elementType === ElementTypeContext
elementType === ElementTypeContext ||
elementType === ElementTypeMemo
) {
// Otherwise if this is a traced ancestor, flag for the nearest host descendant(s).
traceNearestHostComponentUpdate = didFiberRender(

0 comments on commit 668ef9a

Please sign in to comment.