diff --git a/ReactCommon/fabric/mounting/ShadowTree.cpp b/ReactCommon/fabric/mounting/ShadowTree.cpp index f62c242b8d6..f37b1b30316 100644 --- a/ReactCommon/fabric/mounting/ShadowTree.cpp +++ b/ReactCommon/fabric/mounting/ShadowTree.cpp @@ -59,7 +59,7 @@ static void updateMountedFlag( continue; } - if (oldChild->getTag() != newChild->getTag()) { + if (!ShadowNode::sameFamily(*oldChild, *newChild)) { // Totally different nodes, updating is impossible. break; }