react-native/React
Nick Lockwood f7df3bb78a Removed eager init of all ViewManagers on layout
Summary:The `uiBlockToAmendWithShadowViewRegistry:` is called on every single view manager, on every single layout pass. This causes all view managers to be eagerly intiialized, even if not being used.

In practice very few modules actually use this method, so by checking if the method is implemented before calling it, we can eliminate most of this work.

(Hopefully in future we can get ride of this method altogether, but right now it's integral to the way that text layout is implemented).

Reviewed By: majak, javache

Differential Revision: D2982181

fb-gh-sync-id: 818d0aac61197df89263c919c2c80a003e293ac5
shipit-source-id: 818d0aac61197df89263c919c2c80a003e293ac5
2016-02-26 08:18:34 -08:00
..
Base Added support for taking snapshots of the screen, window or individual views 2016-02-23 02:26:33 -08:00
Executors Expose way for native modules to modify JSC context 2016-02-15 12:58:29 -08:00
Layout updated css-layout and fixed callsites 2015-12-21 10:18:41 -08:00
Modules Removed eager init of all ViewManagers on layout 2016-02-26 08:18:34 -08:00
Profiler fix RCTPerfMonitor display unit error 2016-02-26 04:54:32 -08:00
React.xcodeproj Fix OSS iOS build 2016-02-17 07:38:33 -08:00
Views Removed eager init of all ViewManagers on layout 2016-02-26 08:18:34 -08:00