mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +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:
1 parent
08ebc1cfd8
commit
7e646361ee
2 files changed
+5
-6
No files matched your search
@@ -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