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 e495392 commit a1cdb5bCopy full SHA for a1cdb5b
packages/react-devtools-shared/src/backend/fiber/renderer.js
@@ -4248,7 +4248,10 @@ export function attach(
4248
source = getSourceForFiberInstance(fiberInstance);
4249
}
4250
4251
- const componentLogsEntry = fiberToComponentLogsMap.get(fiber);
+ let componentLogsEntry = fiberToComponentLogsMap.get(fiber);
4252
+ if (componentLogsEntry === undefined && fiber.alternate !== null) {
4253
+ componentLogsEntry = fiberToComponentLogsMap.get(fiber.alternate);
4254
+ }
4255
4256
return {
4257
id: fiberInstance.id,
0 commit comments