react-native-macos/React
Mehdi Mulani 751be26015 Allow UIManager to load native view managers lazily
Summary:
This adds a synchronous method that JS can call to load view managers.
Notably, we don't have an exact way to go from a JS name to the native view manager, so this naively adds 'Manager' to the end.

After lazily loading the view, it makes sure to cache all its values in native and JS, as further calls from JS will fail.

Reviewed By: PeteTheHeat

Differential Revision: D10204314

fbshipit-source-id: ebf42a85dcc467f3b4c5d6e18e49e04f9e8aa4f9
2018-10-09 14:16:20 -07:00
..
Base Fabric: RCTSurface's start and stop methods 2018-09-26 10:18:38 -07:00
CxxBridge Bump up the buffer size and show a warning if the trace might be truncated 2018-10-02 05:48:00 -07:00
CxxModule Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
CxxUtils Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
DevSupport Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Fabric Fabric: Proper failCallback handling in EventBeatBasedExecutor 2018-10-08 14:46:48 -07:00
Inspector Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Modules Allow UIManager to load native view managers lazily 2018-10-09 14:16:20 -07:00
Profiler Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
React.xcodeproj Add the new RCTWKWebView* files to build target on iOS (#21031) 2018-09-10 18:17:30 -07:00
UIUtils Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Views Split ViewAccessibility into DeprecatedViewAccessibility and rename r… (#21422) 2018-10-05 10:03:10 -07:00
third-party.xcconfig Fix copyright headers 2018-09-28 17:33:12 -07:00