mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
Summary: One of the core feature of ShadowNodeFamily is having a pointer to a parent family. This diff implements it. I don't think there is a hard retain cycle there, but for more lean memory usage we use weak_ptr here. Reviewed By: JoshuaGross Differential Revision: D14416948 fbshipit-source-id: 05fd2c4833146f007228363b1d958776b4a2a9cf