mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
8e1348046a
Summary: This is the second part of a rewrite of D15390384, which allows Animated timing to be driven by Paper or Fabric. The intuition is: we don't care which one drives the animation. We will expect one or both of them to issue a callback that operations are about to be executed, and the first one wins. The blocks will only execute once, the second time will be a noop. I don't think there's a 100% safe way of reimplementing Native Animated Module for Fabric/Venice (without a new API and implementing in C++) since it's inherently disconnected from the commit process and the tree. This gets us slightly closer to visual functionality, though. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D21698192 fbshipit-source-id: c11d3cebd12cfc8acf4b63c87ccbe62cdbd8b672