xplat/js/react-native-github/packages/react-native/ReactCommon/react/renderer/mounting/Differentiator.cpp (#53412)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/53412

Changelog:
[General][Internal] - Encapsulated internal class into anonymous namespace to ensure no collisions with public symbols.

Differential Revision: D80689084

fbshipit-source-id: 53ebd8a16a3c217efead0bfe91f66bd50bb6dd2f
This commit is contained in:
Nikita Lutsenko authored and Facebook GitHub Bot committed 2025-08-21 14:59:24 -07:00
1 parent a2a73739d8
commit ffe52b75a3
1 file changed
+4
@@ -126,6 +126,8 @@ static void calculateShadowViewMutations(
const CullingContext& oldCullingContext = {},
const CullingContext& newCullingContext = {});
namespace {
struct OrderedMutationInstructionContainer {
ShadowViewMutation::List createMutations{};
ShadowViewMutation::List deleteMutations{};
@@ -136,6 +138,8 @@ struct OrderedMutationInstructionContainer {
ShadowViewMutation::List destructiveDownwardMutations{};
};
} // namespace
static void updateMatchedPairSubtrees(
ViewNodePairScope& scope,
OrderedMutationInstructionContainer& mutationContainer,