mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
e46929f3ed20dc7544c0e478fbfd467fcea1f4c0
Every time we create a task we need to wait for it so we increase a ref
count. We can do this in `createTask`. This is in line with what Fizz
does too.
They differ in that Flight counts when they're actually flushed where as
Fizz decrements them when they complete.
Flight should probably count them when they complete so it's possible to
wait for the end before flushing for buffering purposes.
DiffTrain build for [0d11563b4a](https://github.com/facebook/react/commit/0d11563b4a96e0f4f2361cdf7375b12375688163)
Please do not delete this branch
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%