mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-17 12:19:12 +08:00
Summary: React view hierarchy doesn't have to always match uiview hierarchy. Plus if we clip view we loose knowledge about view's react superview if we just use `self.superview` as react superview. This diff fixes it by storing a strong ref to reactSuperview in an associated object. This is needed for new view clipping implementation (see the dependent diff). Reviewed By: mmmulani Differential Revision: D4081844 fbshipit-source-id: 9317d9db46fbd474382c5469b7922f88e5ee7568