diff --git a/packages/react-devtools-shared/src/backend/renderer.js b/packages/react-devtools-shared/src/backend/renderer.js index ee772fda860a0..e1772fdf47cbc 100644 --- a/packages/react-devtools-shared/src/backend/renderer.js +++ b/packages/react-devtools-shared/src/backend/renderer.js @@ -2179,7 +2179,9 @@ export function attach( if ( elementType === ElementTypeFunction || elementType === ElementTypeClass || - elementType === ElementTypeContext + elementType === ElementTypeContext || + elementType === ElementTypeMemo || + elementType === ElementTypeForwardRef ) { // Otherwise if this is a traced ancestor, flag for the nearest host descendant(s). traceNearestHostComponentUpdate = didFiberRender(