mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46287 Changes `Animated` to avoid validating certain values in production builds to improve performance. In order to maintain consistent behavior between development and production builds (so that we reduce the likelihood of bugs that only appear in one of the environments), this also changes the validation errors to use `console.error` instead of error throwing. Changelog: [General][Changed] - Changed `Animated` props validation to soft errors instead of thrown errors Reviewed By: sammy-SC Differential Revision: D62055674 fbshipit-source-id: 8e5732d00ab06e14ba8562f5190ce79ca240e374