From 61ffabfdc6b0e65a4c9305811bac07a1a1103ec1 Mon Sep 17 00:00:00 2001 From: Charles Ponti Date: Mon, 23 Nov 2026 15:21:11 +0000 Subject: [PATCH] fix(react-native): mark shadow view overloads deprecated --- .../ReactCommon/react/renderer/mounting/ShadowViewMutation.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/react-native/ReactCommon/react/renderer/mounting/ShadowViewMutation.h b/packages/react-native/ReactCommon/react/renderer/mounting/ShadowViewMutation.h index 7782a5a7ef2d..9f821b198805 100644 --- a/packages/react-native/ReactCommon/react/renderer/mounting/ShadowViewMutation.h +++ b/packages/react-native/ReactCommon/react/renderer/mounting/ShadowViewMutation.h @@ -47,6 +47,7 @@ struct ShadowViewMutation final { * Creates and returns an `Insert` mutation. * @deprecated Pass parentTag instead of parentShadowView. */ + [[deprecated("Pass parentTag instead of parentShadowView.")]] static ShadowViewMutation InsertMutation(const ShadowView &parentShadowView, ShadowView childShadowView, int index) { return InsertMutation(parentShadowView.tag, childShadowView, index); @@ -61,6 +62,7 @@ struct ShadowViewMutation final { * Creates and returns a `Remove` mutation. * @deprecated Pass parentTag instead of parentShadowView. */ + [[deprecated("Pass parentTag instead of parentShadowView.")]] static ShadowViewMutation RemoveMutation(const ShadowView &parentShadowView, ShadowView childShadowView, int index) { return RemoveMutation(parentShadowView.tag, childShadowView, index); @@ -75,6 +77,7 @@ struct ShadowViewMutation final { * Creates and returns an `Update` mutation. * @deprecated Pass parentTag instead of parentShadowView. */ + [[deprecated("Pass parentTag instead of parentShadowView.")]] static ShadowViewMutation UpdateMutation(ShadowView oldChildShadowView, ShadowView newChildShadowView, const ShadowView &parentShadowView) {