next.js
2a2d32e2 - Separate App Page render and prerender pipelines (#96659)

Commit
108 days ago
Separate App Page render and prerender pipelines (#96659) ## Summary App Page rendering currently shares a single implementation that uses the Work Store execution mode to choose between the request and prerender pipelines. This change: - Extracts mode-neutral App Page preparation into a shared step. - Gives request rendering and prerendering separate top-level implementations. - Moves Work Store creation into the corresponding entrypoint. - Makes each path call `renderToStream` or `prerenderToStream` directly, removing the execution-mode dispatch between them. This moves the rendering decision to the App Page boundary and creates a clearer path toward removing execution mode from the Work Store entirely.
Author
Parents
Loading