Skip to content

Commit 243b8ce

Browse files
committed
Don't initialize models that weren't already initialized
1 parent 0bb2ec1 commit 243b8ce

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/react-client/src/ReactFlightClient.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3494,12 +3494,6 @@ function flushComponentPerformance(
34943494
return previousResult;
34953495
}
34963496
const children = root._children;
3497-
if (root.status === RESOLVED_MODEL) {
3498-
// If the model is not initialized by now, do that now so we can find its
3499-
// children. This part is a little sketchy since it significantly changes
3500-
// the performance characteristics of the app by profiling.
3501-
initializeModelChunk(root);
3502-
}
35033497

35043498
// First find the start time of the first component to know if it was running
35053499
// in parallel with the previous.

0 commit comments

Comments
 (0)