@samitouri / QOS-React-1 / commits / 70fb136391

Fix limit without owner stacks (#31179)

Move out of gate.

Sebastian Markbåge committed Oct 10, 2024 at 14:52 UTC 70fb1363912a35fc59c1bf648b963c3a0b719b97
1 file changed +2 -1
packages/react-server/src/ReactFlightServer.js
+2 -1
@@ -3465,6 +3465,8 @@ function renderConsoleValue(
3465 if (element._owner != null) {
3466 outlineComponentInfo(request, element._owner);
3467 }
3468 + doNotLimit.add(element.props);
3469 +
3470 if (enableOwnerStacks) {
3471 let debugStack: null | ReactStackTrace = null;
3472 if (element._debugStack != null) {
@@ -3475,7 +3477,6 @@ function renderConsoleValue(
3477 doNotLimit.add(debugStack[i]);
3478 }
3479 }
3478 - doNotLimit.add(element.props);
3480 return [
3481 REACT_ELEMENT_TYPE,
3482 element.type,