From 476a323e0d5c7c0876899e9de6460c069720655e Mon Sep 17 00:00:00 2001 From: zhongwuzw Date: Mon, 9 Oct 2023 10:41:41 -0700 Subject: [PATCH] Rearrange RNComponentViewUpdateMask value (#40481) Summary: We removed `RNComponentViewUpdateMaskLocalData ` in https://github.com/facebook/react-native/commit/b920bf87368a295b4296ce004094d138b9c4ee20, so we rearrange RNComponentViewUpdateMask value in sequential order. cc sammy-SC . ## Changelog: [IOS] [CHANGED] - Rearrange RNComponentViewUpdateMask value Pull Request resolved: https://github.com/facebook/react-native/pull/40481 Test Plan: No need :) Reviewed By: sammy-SC Differential Revision: D50076654 Pulled By: javache fbshipit-source-id: efc7e96778e6dccce450a756fb22e031f0d7e47e --- .../React/Fabric/Mounting/RCTComponentViewProtocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/React/Fabric/Mounting/RCTComponentViewProtocol.h b/packages/react-native/React/Fabric/Mounting/RCTComponentViewProtocol.h index 228710d400f13c..1b802b5cfde373 100644 --- a/packages/react-native/React/Fabric/Mounting/RCTComponentViewProtocol.h +++ b/packages/react-native/React/Fabric/Mounting/RCTComponentViewProtocol.h @@ -22,8 +22,8 @@ typedef NS_OPTIONS(NSInteger, RNComponentViewUpdateMask) { RNComponentViewUpdateMaskNone = 0, RNComponentViewUpdateMaskProps = 1 << 0, RNComponentViewUpdateMaskEventEmitter = 1 << 1, - RNComponentViewUpdateMaskState = 1 << 3, - RNComponentViewUpdateMaskLayoutMetrics = 1 << 4, + RNComponentViewUpdateMaskState = 1 << 2, + RNComponentViewUpdateMaskLayoutMetrics = 1 << 3, RNComponentViewUpdateMaskAll = RNComponentViewUpdateMaskProps | RNComponentViewUpdateMaskEventEmitter | RNComponentViewUpdateMaskState | RNComponentViewUpdateMaskLayoutMetrics