mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5b7edb59a5
Summary: The previous comparison does not make sense (accessing props by index) - and always returns true. I'm going to assume there was a reason for implementing `shouldComponentUpdate` - although personally I'd just go for PureComponent (even if it may not be 100% accurate). Let me know if PureComponent sounds better. ## Changelog not needed Pull Request resolved: https://github.com/facebook/react-native/pull/25097 Differential Revision: D15575079 Pulled By: cpojer fbshipit-source-id: 49aeb9d2997d3c613fe7a1af4534dff1607d53b4