Wire up enableDefaultAsyncBatchedPriority feature flag on iOS and Android

Summary:
changelog: [internal]

bypass-githubexport-checks

Reviewed By: NickGerleman

Differential Revision: D48522515

fbshipit-source-id: aaa184982094e006f4273468584d52b9b2cb5493
This commit is contained in:
Samuel Susla
2023-08-22 09:00:56 -07:00
committed by Facebook GitHub Bot
parent 565e06f8d0
commit 1708863711
@@ -284,6 +284,10 @@ static BackgroundExecutor RCTGetBackgroundExecutor()
CoreFeatures::disableScrollEventThrottleRequirement = true;
}
if (reactNativeConfig && reactNativeConfig->getBool("react_fabric:enable_default_async_batched_priority")) {
CoreFeatures::enableDefaultAsyncBatchedPriority = true;
}
auto componentRegistryFactory =
[factory = wrapManagedObject(_mountingManager.componentViewRegistry.componentViewFactory)](
EventDispatcher::Weak const &eventDispatcher, ContextContainer::Shared const &contextContainer) {