mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
ab96eb34b0c2e8d4af53cef894d0ec4dfc66ca54
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 commit https://github.com/facebook/react/commit/bb66aa3cef4e42aee790200d03cf7a82659da121.
react-fbsource-import
Description
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%