Skip to content

Commit 359088d

Browse files
committed
Wire up debugInfo from elements/arrays/lazy/thenables to fibers
Merge any debug info we got from intermediate objects until we create or update a fiber that can hold it.
1 parent ce46784 commit 359088d

File tree

5 files changed

+200
-24
lines changed

5 files changed

+200
-24
lines changed

packages/react-client/src/ReactFlightClient.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import type {
1212
ReactDebugInfo,
1313
ReactComponentInfo,
1414
ReactAsyncInfo,
15-
ReactConsoleInfo,
1615
} from 'shared/ReactTypes';
1716
import type {LazyComponent} from 'react/src/ReactLazy';
1817

@@ -1017,7 +1016,7 @@ function resolveHint<Code: HintCode>(
10171016
function resolveDebugInfo(
10181017
response: Response,
10191018
id: number,
1020-
debugInfo: ReactComponentInfo | ReactAsyncInfo | ReactConsoleInfo,
1019+
debugInfo: ReactComponentInfo | ReactAsyncInfo,
10211020
): void {
10221021
if (!__DEV__) {
10231022
// These errors should never make it into a build so we don't need to encode them in codes.json

0 commit comments

Comments
 (0)