mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
30141e230d
Summary: RootShadowNode does not have ComponentDescriptor counterpart (because it cannot be created via UIManager) and we used to always clone it manually. However, apparently, some algorithms (e.g. clone algorithm inside RootShadowNode, which is used by setNativeProps) require valid clone function associated with the node. So, we implement it. Reviewed By: JoshuaGross Differential Revision: D14187762 fbshipit-source-id: a9b6b332a18583217ff0e4f9c15aea0ffb113ba2