mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
6626b84f89
Summary: Changelog: [Internal] # Problem We were recording mount child component calls with its arguments and the replaying them inside `finalizeUpdates`. However we store the events in NSDictionary where `key` was index at which the child should be added. Then in `finalizeUpdates` we iterated over this NSDictionary and added those views into our paper view. `NSDictionary` is unordered, it isn't guaranteed what was first inserted into it, will be first iterated over. # Solution Use `NSMutableArray` instead which guarantees order. Reviewed By: shergin Differential Revision: D21685993 fbshipit-source-id: 3b933f05125130eef175d7a8a56f29012ee76bb3