mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
34ee899fef2ea85f027f2ca5e74d8e900252463b
Based on
- https://github.com/facebook/react/pull/28497
- https://github.com/facebook/react/pull/28419
Reusing the disableLegacyMode flag, we set ReactTestRenderer to always
render with concurrent root where legacy APIs are no longer available.
If disableLegacyMode is false, we continue to allow the
unstable_isConcurrent option determine the root type.
Also checking a global `IS_REACT_NATIVE_TEST_ENVIRONMENT` so we can
maintain the existing behavior for RN until we remove legacy root
support there.
DiffTrain build for [bb66aa3cef](https://github.com/facebook/react/commit/bb66aa3cef4e42aee790200d03cf7a82659da121)
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%