|
7 | 7 | * @noflow
|
8 | 8 | * @nolint
|
9 | 9 | * @preventMunge
|
10 |
| - * @generated SignedSource<<c84520e2b9d33ee51d806026be234a8a>> |
| 10 | + * @generated SignedSource<<20ec57c573e0a0a7a0d1a3309fa44b1b>> |
11 | 11 | */
|
12 | 12 |
|
13 | 13 | "use strict";
|
@@ -4112,6 +4112,12 @@ if (__DEV__) {
|
4112 | 4112 | return describeComponentFrame(name, ownerName);
|
4113 | 4113 | }
|
4114 | 4114 | }
|
| 4115 | + function describeDebugInfoFrame(name, env) { |
| 4116 | + return describeBuiltInComponentFrame( |
| 4117 | + name + (env ? " (" + env + ")" : ""), |
| 4118 | + null |
| 4119 | + ); |
| 4120 | + } |
4115 | 4121 |
|
4116 | 4122 | {
|
4117 | 4123 | var PossiblyWeakMap$1 = typeof WeakMap === "function" ? WeakMap : Map;
|
@@ -4190,7 +4196,22 @@ if (__DEV__) {
|
4190 | 4196 | var node = workInProgress;
|
4191 | 4197 |
|
4192 | 4198 | do {
|
4193 |
| - info += describeFiber(node); // $FlowFixMe[incompatible-type] we bail out when we get a null |
| 4199 | + info += describeFiber(node); |
| 4200 | + |
| 4201 | + if (true) { |
| 4202 | + // Add any Server Component stack frames in reverse order. |
| 4203 | + var debugInfo = node._debugInfo; |
| 4204 | + |
| 4205 | + if (debugInfo) { |
| 4206 | + for (var i = debugInfo.length - 1; i >= 0; i--) { |
| 4207 | + var entry = debugInfo[i]; |
| 4208 | + |
| 4209 | + if (typeof entry.name === "string") { |
| 4210 | + info += describeDebugInfoFrame(entry.name, entry.env); |
| 4211 | + } |
| 4212 | + } |
| 4213 | + } |
| 4214 | + } // $FlowFixMe[incompatible-type] we bail out when we get a null |
4194 | 4215 |
|
4195 | 4216 | node = node.return;
|
4196 | 4217 | } while (node);
|
@@ -25707,7 +25728,7 @@ if (__DEV__) {
|
25707 | 25728 | return root;
|
25708 | 25729 | }
|
25709 | 25730 |
|
25710 |
| - var ReactVersion = "18.3.0-canary-66c834640-20240223"; |
| 25731 | + var ReactVersion = "18.3.0-canary-8fb0233a8-20240223"; |
25711 | 25732 |
|
25712 | 25733 | // Might add PROFILE later.
|
25713 | 25734 |
|
|
0 commit comments