mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: There's a case here where we do a loop, with a map loopup, and nested map lookup inside of that. It's not particularly efficient and was done because we have multiple distinct pointers to distinct ShadowViews that are backed by the same ShadowNode. Now due to previous, recent refactoring, we can simplify this case a lot. The code WAS correct before, just confusing and not particularly efficient. Tests can prove that this is still correct. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D28018996 fbshipit-source-id: a7c8148802650c88888960c9c099954e0f8bc357