mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
80027ce6db
Summary: ReactRawTextShadowNode represents "raw" text node (aka textContent), so it cannot have layout or styling, it is just a line of text, a pure string. So, we must not interit it from HUGE ReactTextShadowNode (which represents <Text> node with ReactRawTextShadowNode instance inside). We need this change to make future fancy (and valuable from product perspective) refactoring possible. Stay tuned! Reviewed By: achen1 Differential Revision: D5712961 fbshipit-source-id: 009e48046bdf34ddfd40b93175934969af64b98b