mirror of
https://github.com/status-im/react-native.git
synced 2025-02-24 07:08:27 +00:00
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