mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
f5077bcc92
As an alternative to #31784. We should really just always yield each virtual task to a native task. So that it's 1:1 with native tasks. This affects when microtasks within each task happens. This brings us closer to native `postTask` semantics which makes it more seamless to just use that when available. This still doesn't yield when a task expires to protect against starvation.