diff --git a/ReactCommon/fabric/mounting/Differentiator.cpp b/ReactCommon/fabric/mounting/Differentiator.cpp index 7c7b7f766..33610348a 100644 --- a/ReactCommon/fabric/mounting/Differentiator.cpp +++ b/ReactCommon/fabric/mounting/Differentiator.cpp @@ -152,7 +152,7 @@ static void calculateShadowViewMutations( // We have to call the algorithm recursively if the inserted view // is *not* the same as removed one. const auto &newChildPair = it->second; - if (newChildPair.shadowView != oldChildPair.shadowView) { + if (newChildPair != oldChildPair) { const auto oldGrandChildPairs = sliceChildShadowNodeViewPairs(*oldChildPair.shadowNode); const auto newGrandChildPairs =