Patch Changes
-
4e849dd: Add a per-route
hasPostponedsignal toPrerender.@vercel/build-utilsexposes a new optionalhasPostponed?: booleanfield onPrerender/PrerenderOptions. It is a tri-state:truewhen the route's.metapostponed state is present (React suspended during the build-time prerender),falsewhen the framework prerendered a Prerender route without postponing, andundefinedwhen the framework did not provide the signal.@vercel/nextpopulates it for app-router PPR routes (computed from the route's postponed state) and leaves itundefinedfor pages-router and other non-app-router prerenders. This is an additive, finer-grained signal — it does not change the existingchain/experimentalStreamingLambdaPathbehavior — so downstream consumers can distinguish a route that actually postponed from one that has PPR machinery but fully prerendered (e.g. undercacheComponents: true).