next.js
37566ee4 - Fix lifecycle fixture under cache components and deployed static delivery

Commit
139 days ago
Fix lifecycle fixture under cache components and deployed static delivery - Cache components fails the build for the deliberately blocking /slow route (dynamic access with no Suspense above it). Opt it out with `export const instant = false` — but that config is itself a build error when cacheComponents is off, so the test setup patches it in per-mode (skipStart + patch + manual start) rather than the fixture carrying it unconditionally. - The query-param-only test navigated to a static page; when deployed, the CDN serves one shared prerendered payload whose renderedSearch is empty, so the commit event reported searchParams {}. Use a new /query page that reads searchParams, making the rendered payload (and the event) search-specific in every delivery mode.
Author
Jude Gao
Committer
Parents
Loading