mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50229 Makes a few internal improvements to `AnimatedProps`: - Change `__connectAnimatedView` and `__disconnectAnimatedView` to be private methods, so that we can confidently change their type signatures. - Pass `#targetInstance` into those methods, so that the responsibility of verifying `#targetInstance`'s non-nullability is hoisted to the call sites. There should be no observable runtime behavior change. Changelog: [Internal] Reviewed By: javache Differential Revision: D71740601 fbshipit-source-id: 6abc6faf63f3c3274fd2d92baf0958d2471d4a63