mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2a46980535
Summary: For future diffs, we need to check AttributedStrings for equality. It turns out that any time props or state change, two `parentShadowView`s will never be equal to each other, even if we'd consider them equal for our use-cases here for AttributedStrings. Just compare the tags instead of the whole object. NOTE: I don't have any strong opinions about how we should be comparing them. It just isn't working currently for AndroidTextInput. Comparing tags seems convenient and reasonably correct for now. Changelog: [Internal] Reviewed By: shergin Differential Revision: D18786004 fbshipit-source-id: 13c0e881cd8d2c2a207e8891309b3c9b880b827f