[Fizz] Prerender fallbacks before children (#30483)
When prerendering it can be convenient to abort the prerender while rendering. However if any Suspense fallbacks have not yet rendered before the abort happens the fallback itself will error and cause the nearest parent Suspense boundary to render a fallback instead. Prerenders are by definition not time critical so the prioritization of children over fallbacks which makes sense for render isn't similarly motivated for prerender. Given this, this change updates fallback rendering during a prerender to attempt the fallback before attempting children.
J
Josh Story committed
d17e9d1ce566276fc54a8ea27f4e9ea1fa434e62
Parent: b9af819
Committed by GitHub <[email protected]>
on 7/26/2024, 9:06:47 PM