next.js
f324ca17 - refactor(app-render): extract stream-ops and debug-channel into compile-time switchable modules

Commit
179 days ago
refactor(app-render): extract stream-ops and debug-channel into compile-time switchable modules Extract stream operations and debug channel code from app-render.tsx into separate modules that can be swapped at compile time: - stream-ops.web.ts: web stream implementations (renderToFlightStream, renderToFizzStream, continueFizzStream, etc.) - stream-ops.ts: re-exports from .web.ts (future: conditional branch) - debug-channel-server.web.ts: web debug channel implementation - debug-channel-server.ts: re-exports from .web.ts (future: conditional branch) - node-web-streams-helper.ts: add createRuntimePrefetchTransformStream Pure code motion with no behavior changes. Web paths produce identical output.
Author
Committer
Parents
Loading