diff --git a/packages/react-native/React/Fabric/Mounting/RCTComponentViewDescriptor.h b/packages/react-native/React/Fabric/Mounting/RCTComponentViewDescriptor.h index fd1c4b9feb0..c0ecced2296 100644 --- a/packages/react-native/React/Fabric/Mounting/RCTComponentViewDescriptor.h +++ b/packages/react-native/React/Fabric/Mounting/RCTComponentViewDescriptor.h @@ -21,15 +21,15 @@ class RCTComponentViewDescriptor final { /* * Associated (and owned) native view instance. */ - __strong UIView *view = nil; + __strong UIView *const view = nil; /* * Indicates a requirement to call on the view methods from * `RCTMountingTransactionObserving` protocol. */ - bool observesMountingTransactionWillMount{false}; - bool observesMountingTransactionDidMount{false}; - bool shouldBeRecycled{true}; + const bool observesMountingTransactionWillMount{false}; + const bool observesMountingTransactionDidMount{false}; + const bool shouldBeRecycled{true}; }; inline bool operator==(const RCTComponentViewDescriptor &lhs, const RCTComponentViewDescriptor &rhs)