Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ std::shared_ptr<ShadowNode> cloneShadowTreeWithNewPropsRecursive(
}

Props::Shared newProps = mergeProps(shadowNode, propsMap, *family);

#ifdef RN_SERIALIZABLE_STATE
if (newProps) {
ReanimatedSystraceSection s("ShadowTreeCloner::equalityCheck");

Expand All @@ -97,7 +97,7 @@ std::shared_ptr<ShadowNode> cloneShadowTreeWithNewPropsRecursive(
tagsToRemove.push_back(shadowNode.getTag());
}
}

#endif
return shadowNode.clone(
{newProps ? newProps : ShadowNodeFragment::propsPlaceholder(),
std::make_shared<std::vector<std::shared_ptr<const ShadowNode>>>(children),
Expand Down
Loading