mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
6c1ee871c0
Summary: Changelog: [Internal] If `ConcreteShadowNode::setStateData` is called and the node is cloned before it is mounted, the cloned node will have old state before `setStateData` was called. To solve this, simply call `setMostRecentState` on the family inside `ConcreteShadowNode::setStateData`. Reviewed By: JoshuaGross Differential Revision: D23283560 fbshipit-source-id: f9822fb69e4234f776d512fc02fe13ea7de64897