@@ -2358,7 +2358,7 @@ function serializeDeferredObject(
23582358 if ( deferredDebugObjects !== null ) {
23592359 // This client supports a long lived connection. We can assign this object
23602360 // an ID to be lazy loaded later.
2361- // This keeps the connection alive until we ask for it or retain it.
2361+ // This keeps the connection alive until we ask for it or release it.
23622362 request. pendingChunks ++ ;
23632363 const id = request . nextChunkId ++ ;
23642364 deferredDebugObjects . existing . set ( value , id ) ;
@@ -4091,7 +4091,7 @@ function renderDebugModel(
40914091
40924092 if ( counter . objectLimit <= 0 && ! doNotLimit . has ( value ) ) {
40934093 // We've reached our max number of objects to serialize across the wire so we serialize this
4094- // as a marker so that the client can error or lazy load thiswhen accessed by the console.
4094+ // as a marker so that the client can error or lazy load this when accessed by the console.
40954095 return serializeDeferredObject ( request , value ) ;
40964096 }
40974097
@@ -4284,7 +4284,7 @@ function renderDebugModel(
42844284 // Large strings are counted towards the object limit.
42854285 if ( counter . objectLimit <= 0 ) {
42864286 // We've reached our max number of objects to serialize across the wire so we serialize this
4287- // as a marker so that the client can error or lazy load thiswhen accessed by the console.
4287+ // as a marker so that the client can error or lazy load this when accessed by the console.
42884288 return serializeDeferredObject ( request , value ) ;
42894289 }
42904290 counter . objectLimit -- ;
@@ -5323,7 +5323,7 @@ export function resolveDebugMessage(request: Request, message: string): void {
53235323 const deferredDebugObjects = request . deferredDebugObjects ;
53245324 if ( deferredDebugObjects === null ) {
53255325 throw new Error (
5326- "resolveDebugMessage/closeDebugChannel not be called for a Request that wasn't kept alive. This is a bug in React." ,
5326+ "resolveDebugMessage/closeDebugChannel should not be called for a Request that wasn't kept alive. This is a bug in React." ,
53275327 ) ;
53285328 }
53295329 // This function lets the client ask for more data lazily through the debug channel.
@@ -5376,7 +5376,7 @@ export function closeDebugChannel(request: Request): void {
53765376 const deferredDebugObjects = request . deferredDebugObjects ;
53775377 if ( deferredDebugObjects === null ) {
53785378 throw new Error (
5379- "resolveDebugMessage/closeDebugChannel not be called for a Request that wasn't kept alive. This is a bug in React." ,
5379+ "resolveDebugMessage/closeDebugChannel should not be called for a Request that wasn't kept alive. This is a bug in React." ,
53805380 ) ;
53815381 }
53825382 deferredDebugObjects . retained . forEach ( ( value , id ) => {
0 commit comments