mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
97ecb5eb19
Summary: iOS and Android platform code already explicitly check this invariant: nodes cannot have parents when they're inserted into the View hierarchy. Check this in the core so we get these checks in unit tests, and earlier in the core before platform code runs. Changelog: [Internal] Reviewed By: shergin, mdvacca Differential Revision: D26331842 fbshipit-source-id: c12bc9066d280cb85ccc9e754c9fa475927e6080