mirror of
https://github.com/react/react-native.git
synced 2026-10-04 02:42:32 +08:00
Summary: In particular, NativeAnimatedModule relies on having some signal of when there's a commit from ReactJS. In Fabric, this is the only reliable signal. Failing to call scheduleMountItems even when there's no changes to the tree will result in certain animation operations being delayed way longer than necessary. I pass nullptr instead of empty arrays in some cases to hopefully improve perf. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D22008981 fbshipit-source-id: 6bdeb46e03b5138dbfa5b077952ec0fa3dfe1eb3