@@ -3364,6 +3364,8 @@ async function renderWithRestartOnCacheMissInDev(
33643364 await cacheSignal . cacheReady ( )
33653365 initialReactController . abort ( )
33663366
3367+ console . log ( '*********** restarting render ***********' )
3368+
33673369 //===============================================
33683370 // Final render (restarted)
33693371 //===============================================
@@ -3650,6 +3652,32 @@ async function spawnStaticShellValidationInDev(
36503652 workStore,
36513653 } = ctx
36523654
3655+ {
3656+ const logChunks = ( chunks : Array < Uint8Array > ) => {
3657+ const textDecoder = new TextDecoder ( )
3658+ for ( const chunk of chunks ) {
3659+ console . log ( textDecoder . decode ( chunk ) )
3660+ }
3661+ }
3662+ console . log ( 'Static chunks' )
3663+ console . log ( '------------------------' )
3664+ logChunks ( staticServerChunks )
3665+ console . log ( '------------------------' )
3666+
3667+ console . log ( '\n' )
3668+ console . log ( 'Runtime chunks' )
3669+ console . log ( '------------------------' )
3670+ logChunks ( runtimeServerChunks . slice ( staticServerChunks . length ) )
3671+ console . log ( '------------------------' )
3672+
3673+ console . log ( '\n' )
3674+ console . log ( 'Dynamic chunks' )
3675+ console . log ( '------------------------' )
3676+ logChunks ( dynamicServerChunks . slice ( runtimeServerChunks . length ) )
3677+ console . log ( '------------------------' )
3678+ console . log ( '\n\n' )
3679+ }
3680+
36533681 const { allowEmptyStaticShell = false } = renderOpts
36543682
36553683 const rootParams = getRootParams (
0 commit comments