mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fc0b03a0d1
Summary: Before this change, we reapply all layout props for all newly mounted views (on `insert` instruction), now we use stored `_layoutMetrics` value to apply only changed subset. This is only available for `RCTViewComponentView` subclasses (where we have an ability to store a previous value), all other implementation of `RCTComponentViewProtocol` will work as usual. Reviewed By: JoshuaGross, sammy-SC Differential Revision: D17312175 fbshipit-source-id: b202583c0c58987876d906b748ef3a749f8dad70