mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: iOS Fabric actually ignores the `index` property and just uses parent and child tags to remove the child from a parent. This brings Android slightly closer to iOS: we try to use the index, but if the index is incorrect, we either (1) throw if the child isn't contained in the parent, or (2) find the correct index, and continue. In debug, this will still crash, so we'll get more signal about why this happens. Changelog: [Internal] Reviewed By: shergin Differential Revision: D24056375 fbshipit-source-id: 07507cc32ad02505d3271fc95ecb45d080109078