mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
79722c7167bf3b5d3e70a1de355fc703ac0efc2d
Stacked on #29551 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 microtasks to ping before actually doing a work flush but doesn't force the vm to spin up a new task which is quite common give n the nature of Server Components DiffTrain build for commit https://github.com/facebook/react/commit/1e1e5cd25223fddbce0e3fb7889b06df0d93a950.
react-fbsource-import
Description
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%