Don't allow removeDelete collation experiment if LayoutAnimations is enabled

Summary:
See title.

This feature makes LayoutAnimations less stable and isn't needed generally; will be deleted soon.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D23382973

fbshipit-source-id: f633f482d463b3ee3e4625b30544a33cd6e36119
This commit is contained in:
Joshua Gross 2020-08-27 19:34:40 -07:00 коммит произвёл Facebook GitHub Bot
Родитель fe7ff13fcf
Коммит ab8b77c3d2
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -266,7 +266,9 @@ void Binding::installFabricUIManager(
reactNativeConfig_->getBool(
"react_fabric:enabled_collapse_delete_create_mounting_instructions") &&
!reactNativeConfig_->getBool(
"react_fabric:enable_reparenting_detection_android");
"react_fabric:enable_reparenting_detection_android") &&
!reactNativeConfig_->getBool(
"react_fabric:enabled_layout_animations_android");
disablePreallocateViews_ = reactNativeConfig_->getBool(
"react_fabric:disabled_view_preallocation_android");