mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
862e029068
Summary: In D22801173 (https://github.com/facebook/react-native/commit/9e6ba9ddb8608d4e3a4a80d0138600130b766d4c) I introduced a mechanism to queue Animated operations on the JS side until all mounting effects were finished. I also added an unnecessary check that the NativeAnimated module is loaded, and it seems like if it's called too early, before the NM is initialized, it will crash. It's not necessary in these two methods, so we just delete the invariant check. Changelog: [Internal] Reviewed By: lunaleaps Differential Revision: D23040331 fbshipit-source-id: e70ec887695b9abefa0f01408a4a1c2749946d1c