mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
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:
1 parent
565e06f8d0
commit
1708863711
1 file changed
+4
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user