We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c35c41a commit 9b496afCopy full SHA for 9b496af
packages/react-devtools-shared/src/backend/fiber/renderer.js
@@ -1664,6 +1664,10 @@ export function attach(
1664
data: ReactComponentInfo,
1665
secondaryEnv: null | string,
1666
): boolean {
1667
+ if (!isInFocusedActivity) {
1668
+ return true;
1669
+ }
1670
+
1671
// For purposes of filtering Server Components are always Function Components.
1672
// Environment will be used to filter Server vs Client.
1673
// Technically they can be forwardRef and memo too but those filters will go away
0 commit comments