mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Previously we recreate a vector with pointers to child nodes every single time we modify the collection. That was okay but recently I realized that the we can simply make a copy of the vector one time during object construction and then mutate it freely. Reviewed By: mdvacca Differential Revision: D7467796 fbshipit-source-id: 660f1706a19ae5f07c34c509f411ce9d67b93b35