react-native/ReactCommon/fabric/core/componentdescriptor
Valentin Shergin bd91eaf664 Fabric/Text: ShadowNode::clone() - dynamic self-cloning mechanism
Summary:
The previous approach simply didn't work. :(
As you might notice, in previous implementation of ViewShadowNode::cloneAndReplaceChild we used `ViewShadowNode` class for cloning `childNode`, and this is incorrect becasue `childNode` might be instance of any class.

Reviewed By: fkgozali

Differential Revision: D7595016

fbshipit-source-id: 2215414926f2f7a2e2fd05ca2d065f10d6d32b74
2018-04-26 18:03:06 -07:00
..
ComponentDescriptor.h Fabric/Text/Prep: Refined ComponentDescriptor interface 2018-04-16 08:15:09 -07:00
ConcreteComponentDescriptor.h Fabric/Text: ShadowNode::clone() - dynamic self-cloning mechanism 2018-04-26 18:03:06 -07:00