Files
react-native/ReactAndroid/src/main/java/com/facebook/react
Andy Street 15429e333f Only call onLayout when layout has actually changed
Summary:
Developers are complaining about horrible lag (https://github.com/facebook/react-native/issues/11809) caused by PR https://github.com/facebook/react-native/pull/11222.

The issue was that hasNewLayout in yoga is actually a dirty bit and indicates that either you OR one of your children has a new layout. We still need to manually check whether the component's layout actually is different from before.

Reviewed By: sahrens

Differential Revision: D4597545

fbshipit-source-id: 27d4605afd00badfdcdacae740ee2e477adee929
2017-02-22 10:20:04 -08:00
..
2017-02-13 14:45:17 -08:00
2016-12-15 09:29:16 -08:00
2017-02-16 13:30:55 -08:00
2016-12-15 09:29:16 -08:00
2016-06-22 04:13:36 -07:00
2016-06-17 04:13:29 -07:00