From 2013a203fc1d088c4bd1da357b8109370bce97f2 Mon Sep 17 00:00:00 2001 From: Samuel Susla Date: Thu, 21 Jul 2022 06:08:23 -0700 Subject: [PATCH] Delete mobile config react_fabric:finalize_updates_on_synchronous_update_view_ios Summary: changelog: [internal] This was used as a kill switch, it has been in place for over 4 months, let's get rid of it. Reviewed By: mdvacca Differential Revision: D37921377 fbshipit-source-id: 594586033694766e13d0f2ab2bcd73b28ba180a9 --- React/Fabric/Mounting/RCTMountingManager.mm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/React/Fabric/Mounting/RCTMountingManager.mm b/React/Fabric/Mounting/RCTMountingManager.mm index bfe8680d27b..7c26c83a79e 100644 --- a/React/Fabric/Mounting/RCTMountingManager.mm +++ b/React/Fabric/Mounting/RCTMountingManager.mm @@ -324,10 +324,7 @@ static void RCTPerformMountInstructions( componentView.layer.opacity = newViewProps.opacity; } - auto reactNativeConfig = _contextContainer->at>("ReactNativeConfig"); - if (reactNativeConfig && reactNativeConfig->getBool("react_fabric:finalize_updates_on_synchronous_update_view_ios")) { - [componentView finalizeUpdates:RNComponentViewUpdateMaskProps]; - } + [componentView finalizeUpdates:RNComponentViewUpdateMaskProps]; } - (void)synchronouslyDispatchCommandOnUIThread:(ReactTag)reactTag