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

[Flight] Schedule work in a microtask #29491

Merged
merged 1 commit into from
Jun 6, 2024

Commits on Jun 6, 2024

  1. [Flight] Schedule work in a microtask

    Flight pings much more often than Fizz because async function components will always take at least a microtask to resolve
    . Rather than scheduling this work as a new macrotask Flight now schedules pings in a microtask. This allows more microta
    sks to ping before actually doing a work flush but doesn't force the vm to sping up a new task which is quite common give
    n the nature of Server Components
    gnoff committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    c2bbe63 View commit details
    Browse the repository at this point in the history