mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
e2c05f6d3f463ab66e0cc1907939ff49a0b70cbe
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.
DiffTrain build for [f5077bcc92](https://github.com/facebook/react/commit/f5077bcc925aa6d0ba2ca4041c875d35e24f6266)
react-fbsource-import
Description
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%