mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove branching for optimized differ QE
Summary: Changelog: [Internal] Reviewed By: JoshuaGross Differential Revision: D21556312 fbshipit-source-id: 0d6d275de2d691cb42e5e70e5bf19bcc983cae12
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0b8a82a6ee
commit
16d15209e5
@@ -271,9 +271,6 @@ void Binding::installFabricUIManager(
|
||||
disablePreallocateViews_ = reactNativeConfig_->getBool(
|
||||
"react_fabric:disabled_view_preallocation_android");
|
||||
|
||||
enableOptimizedMovesDiffer_ = reactNativeConfig_->getBool(
|
||||
"react_fabric:enabled_optimized_moves_differ_android");
|
||||
|
||||
auto toolbox = SchedulerToolbox{};
|
||||
toolbox.contextContainer = contextContainer;
|
||||
toolbox.componentRegistryFactory = componentsRegistry->buildRegistryFunction;
|
||||
@@ -583,9 +580,7 @@ void Binding::schedulerDidFinishTransaction(
|
||||
return;
|
||||
}
|
||||
|
||||
auto mountingTransaction = mountingCoordinator->pullTransaction(
|
||||
enableOptimizedMovesDiffer_ ? DifferentiatorMode::OptimizedMoves
|
||||
: DifferentiatorMode::Classic);
|
||||
auto mountingTransaction = mountingCoordinator->pullTransaction();
|
||||
|
||||
if (!mountingTransaction.has_value()) {
|
||||
return;
|
||||
|
||||
@@ -112,7 +112,6 @@ class Binding : public jni::HybridClass<Binding>, public SchedulerDelegate {
|
||||
bool collapseDeleteCreateMountingInstructions_{false};
|
||||
bool disablePreallocateViews_{false};
|
||||
bool disableVirtualNodePreallocation_{false};
|
||||
bool enableOptimizedMovesDiffer_{false};
|
||||
};
|
||||
|
||||
} // namespace react
|
||||
|
||||
Reference in New Issue
Block a user