Remove PrerenderStorePPR type and all prerender-ppr switch cases#90721
Merged
devjiwonchoi merged 1 commit intocanaryfrom Mar 4, 2026
Merged
Remove PrerenderStorePPR type and all prerender-ppr switch cases#90721devjiwonchoi merged 1 commit intocanaryfrom
PrerenderStorePPR type and all prerender-ppr switch cases#90721devjiwonchoi merged 1 commit intocanaryfrom
Conversation
Collaborator
Stats from current PR🟢 1 improvement
📊 All Metrics📖 Metrics GlossaryDev Server Metrics:
Build Metrics:
Change Thresholds:
⚡ Dev Server
📦 Dev Server (Webpack) (Legacy)📦 Dev Server (Webpack)
⚡ Production Builds
📦 Production Builds (Webpack) (Legacy)📦 Production Builds (Webpack)
📦 Bundle SizesBundle Sizes⚡ TurbopackClient Main Bundles: **401 kB** → **400 kB** ✅ -205 B80 files with content-based hashes (individual files not comparable between builds) Server Middleware
Build DetailsBuild Manifests
📦 WebpackClient Main Bundles
Polyfills
Pages
Server Edge SSR
Middleware
Build DetailsBuild Manifests
Build Cache
🔄 Shared (bundler-independent)Runtimes
📝 Changed Files (17 files)Files with changes:
View diffsapp-page-exp..ntime.dev.jsfailed to diffapp-page-exp..time.prod.jsfailed to diffapp-page-tur..ntime.dev.jsfailed to diffapp-page-tur..time.prod.jsfailed to diffapp-page-tur..ntime.dev.jsfailed to diffapp-page-tur..time.prod.jsfailed to diffapp-page.runtime.dev.jsfailed to diffapp-page.runtime.prod.jsfailed to diffapp-route-ex..ntime.dev.jsDiff too large to display app-route-ex..time.prod.jsDiff too large to display app-route-tu..ntime.dev.jsDiff too large to display app-route-tu..time.prod.jsDiff too large to display app-route-tu..ntime.dev.jsDiff too large to display app-route-tu..time.prod.jsDiff too large to display app-route.runtime.dev.jsDiff too large to display app-route.ru..time.prod.jsDiff too large to display server.runtime.prod.jsDiff too large to display 📎 Tarball URL |
Collaborator
Tests Passed |
6007781 to
7b1e778
Compare
This was referenced Mar 1, 2026
unstubbable
approved these changes
Mar 4, 2026
4db6f5c to
d0635b0
Compare
…h cases After PR #90713 removed the rendering branch that creates `prerender-ppr` stores, no code ever creates a store with `type: 'prerender-ppr'`. All switch cases handling it are dead code. - Delete `PrerenderStorePPR` interface and remove from `PrerenderStore` union - Remove 78 `case 'prerender-ppr':` switch cases across 28 files - Simplify `Postpone` component (dynamicTracking is always null now) - Remove dead `postponeWithTracking()` call sites only reachable from prerender-ppr - Clean up now-unused imports and dead functions
7b1e778 to
bea5fa7
Compare
devjiwonchoi
added a commit
that referenced
this pull request
Mar 4, 2026
Stacked on #90721 Verified deployment tests pass on CI: https://github.com/vercel/next.js/actions/runs/22541051404
sokra
pushed a commit
that referenced
this pull request
Mar 6, 2026
…90721) Stacked on #90713 This PR removes `prerender-ppr` case handling in the codebase. Verified deployment tests pass on CI: https://github.com/vercel/next.js/actions/runs/22539297668
sokra
pushed a commit
that referenced
this pull request
Mar 6, 2026
Stacked on #90721 Verified deployment tests pass on CI: https://github.com/vercel/next.js/actions/runs/22541051404
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #90713
This PR removes
prerender-pprcase handling in the codebase.Verified deployment tests pass on CI: https://github.com/vercel/next.js/actions/runs/22539297668