We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32f451b commit 11fb115Copy full SHA for 11fb115
packages/react-server/src/ReactFizzComponentStack.js
@@ -73,8 +73,10 @@ export function getStackByComponentStackNode(
73
info += describeClassComponentFrame(node.type);
74
break;
75
case 3:
76
- info += describeBuiltInComponentFrame(node.type);
77
- break;
+ if (__DEV__) {
+ info += describeBuiltInComponentFrame(node.type);
78
+ break;
79
+ }
80
}
81
// $FlowFixMe[incompatible-type] we bail out when we get a null
82
node = node.parent;
0 commit comments