mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Avoid start/finishOperationBatch when using singleOp Animated experiment
Summary: Splitting these changes of from D36482630, which is a minor improvement to the singleOp experiment. Since we call start/finish already on the native side, we don't need to repeat it from JS. Changelog: [Internal] Reviewed By: JoshuaGross Differential Revision: D36541700 fbshipit-source-id: 7d61669710faca3153be557fb2d214011eda87c5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
08ebc1cfd8
commit
7e646361ee
@@ -126,6 +126,8 @@ public class MountItemDispatcher {
|
||||
mInDispatch = false;
|
||||
}
|
||||
|
||||
// We call didDispatchMountItems regardless of whether we actually dispatched anything, since
|
||||
// NativeAnimatedModule relies on this for executing any animations that may have been scheduled
|
||||
mItemDispatchListener.didDispatchMountItems();
|
||||
|
||||
// Decide if we want to try reentering
|
||||
|
||||
Reference in New Issue
Block a user