Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fizz] Prerender fallbacks before children #30483

Merged
merged 1 commit into from
Jul 26, 2024

Commits on Jul 26, 2024

  1. [Fizz] Prerender fallbacks before children

    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.
    gnoff committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    762d139 View commit details
    Browse the repository at this point in the history