mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Even though Next doesn't generate PPR shells for draftMode.enabled versions of pages, it should still stream any Suspense fallbacks those pages happen to render. Currently, when draftMode is enabled, pages fully block on all IO. This behavior is unintentional and this PR fixes this so that draftMode.enabled pages can still stream.
4 lines
113 B
TypeScript
4 lines
113 B
TypeScript
export default function Loading() {
|
|
return <div id="delayed-runtime-fallback">Loading draft content...</div>
|
|
}
|