Fabric: Shadow node shallowing was removed from preventive cloning in UIManager
Summary: @public We do preventing cloning in UIManager especially to add a layer to Shadow Node source chain, so apparently there is no point illuminate that by calling `shallowSourceNode`. Reviewed By: fkgozali Differential Revision: D8585163 fbshipit-source-id: 3743edc30bf2183c420fd79ce1e59d68ceaa278b
This commit is contained in:
parent
48b9a6f887
commit
483c45cff0
|
@ -234,7 +234,6 @@ void FabricUIManager::appendChild(const SharedShadowNode &parentShadowNode, cons
|
|||
auto childComponentDescriptor = (*componentDescriptorRegistry_)[childShadowNode];
|
||||
auto clonedChildShadowNode = childComponentDescriptor->cloneShadowNode(childShadowNode);
|
||||
auto nonConstClonedChildShadowNode = std::const_pointer_cast<ShadowNode>(clonedChildShadowNode);
|
||||
nonConstClonedChildShadowNode->shallowSourceNode();
|
||||
componentDescriptor->appendChild(parentShadowNode, clonedChildShadowNode);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue