next.js
1155e003 - Remove obsolete prerender abort workarounds (#101621)

Commit
21 days ago
Remove obsolete prerender abort workarounds (#101621) PR #101587 includes React's Flight abort fix from react/react#38186. React now handles async iterables, readable streams, and blobs serialized after their abort signal has already fired. Next.js no longer needs to finish metadata accumulators to prevent `--debug-prerender` from hanging. This removes both workaround blocks and simplifies the abort checks. The new e2e suite adapts the reproduction from PR #101356 to cover sync IO during revalidation, including an application iterable that remains pending after abort, in local production and deploy mode. Closes #101356 Closes NAR-810
Author
Parents
Loading