react-native/ReactCommon/fabric/core/shadownode
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
..
ConcreteShadowNode.h Fabric/Text: ShadowNode::clone() - dynamic self-cloning mechanism 2018-04-26 18:03:06 -07:00
Props.cpp iOS: added fabric/core ShadowNode tests 2018-03-23 17:32:52 -07:00
Props.h Fabric: Deleted virtual default destructor from Props 2018-03-25 22:48:18 -07:00
ShadowNode.cpp Fabric/Text: ShadowNode::clone() - dynamic self-cloning mechanism 2018-04-26 18:03:06 -07:00
ShadowNode.h Fabric/Text: ShadowNode::clone() - dynamic self-cloning mechanism 2018-04-26 18:03:06 -07:00