mirror of
https://github.com/status-im/react-native.git
synced 2025-02-23 22:58:19 +00:00
Summary: This diff changes the method to calculate the hash of an AttributedString (removing shadowNode and parentShadowNode from it). This is necessary becuase otherwise hashcode of clonned parent keep changing in every state change, when the text doesnt change With this change we are able to cache spannables in android properly Reviewed By: shergin Differential Revision: D13189110 fbshipit-source-id: c1f7372809ce98a5b4d091485cc15281a4ab5e1e