mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
31b7819b02
Summary:
Commit c9960817ee
broke `Animated.createAnimatedComponent()` for most components outside of the standard ones. This is because it will throw an exception for any component without a `viewConfig` defined, which basically no composition style component has AFAIK.
Related issues: https://github.com/facebook/react-native/issues/10825, https://github.com/oblador/react-native-vector-icons/issues/337, https://github.com/oblador/react-native-animatable/issues/70
This PR removes the check which is more treating the symptoms really – but shouldn't `setNativeProps` duck typing be enough?
Closes https://github.com/facebook/react-native/pull/10827
Differential Revision: D4178183
Pulled By: ericvicenti
fbshipit-source-id: b85cc78ed6d84dada4d476caa243332eaadb003f
React Native Renderer
This is a downstream copy of React's renderer code to render into React Native. The source of truth is the React repo. Please submit any changes upstream to the React Core GitHub repository.