mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove background_executor flag
Summary: changelog: [internal] Background executor has been shipped on both platforms for a long time. I've kept the flag around because I wanted to run tests and compare Concurrent Mode vs Background Executor. The intention was to see if we can get rid of Background Executor to simplify the threading model. Since then, React team has moved away from Concurrent Mode towards more gradual rollout of concurrent rendering and it no longer makes sense to do this comparison. Right now, we don't have a concern with concurrent rendering and Background Executor. If we ever want to run the an experiment, this gating will need to be added again. Reviewed By: javache Differential Revision: D32674798 fbshipit-source-id: a1e51c9c5b8e48efa4cb0f25379d58e7eb80ccd9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ae67c5ac45
commit
387e79f8aa
@@ -606,11 +606,8 @@ void Binding::installFabricUIManager(
|
||||
toolbox.synchronousEventBeatFactory = synchronousBeatFactory;
|
||||
toolbox.asynchronousEventBeatFactory = asynchronousBeatFactory;
|
||||
|
||||
if (reactNativeConfig_->getBool(
|
||||
"react_fabric:enable_background_executor_android")) {
|
||||
backgroundExecutor_ = std::make_unique<JBackgroundExecutor>();
|
||||
toolbox.backgroundExecutor = backgroundExecutor_->get();
|
||||
}
|
||||
backgroundExecutor_ = std::make_unique<JBackgroundExecutor>();
|
||||
toolbox.backgroundExecutor = backgroundExecutor_->get();
|
||||
|
||||
animationDriver_ = std::make_shared<LayoutAnimationDriver>(
|
||||
runtimeExecutor, contextContainer, this);
|
||||
|
||||
Reference in New Issue
Block a user