mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
89feb7e2bc5901575b1c0988a6b0488e5d12a627
Pulling this out of #28657.
This runs react-art in concurrent mode if disableLegacyMode is true.
Effectively this means that the OSS version will be in concurrent mode
and the `.modern.js` version for Meta will be in concurrent mode, once
the flag flips for modern, but the `.classic.js` version for Meta will
be in legacy mode.
Updates flowing in from above flush synchronously so that they commit as
a unit. This also ensures that refs are resolved before the parent life
cycles. setStates deep in the tree will now be batched using "discrete"
priority but should still happen same task.
DiffTrain build for [5fcaa0a832](https://github.com/facebook/react/commit/5fcaa0a832db9573364cb73738e0a3b4cf2d27f2)
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%