Package com.facebook.react
See: Description
-
Class Summary Class Description CompositeReactPackage {@code CompositeReactPackage}
allows to create a single package composed of views and modules from several other packages.CoreModulesPackage This is the basic module to support React Native. DebugCorePackage Package defining core framework modules (e.g. EagerModuleProvider Provider for an already initialized and non-lazy NativeModule. HeadlessJsTaskService Base class for running JS without a UI. LazyReactPackage React package supporting lazy creation of native modules. MemoryPressureRouter Translates and routes memory pressure events to the current catalyst instance. NativeModuleRegistryBuilder Helper class to build NativeModuleRegistry. ReactActivity Base Activity for React Native applications. ReactActivityDelegate Delegate class for ReactActivity. ReactAndroidHWInputDeviceHelper Responsible for dispatching events specific for hardware inputs. ReactDelegate A delegate for handling React Application support. Builder Builder class to help instantiate a ReactFragment ReactFragment Fragment for creating a React View. ReactInstanceManager This class is managing instances of CatalystInstance. ReactInstanceManagerBuilder Builder class for ReactInstanceManager ReactInstancePackage A simple wrapper for ReactPackage to make it aware of its ReactInstanceManager when creating native modules. ReactNativeHost Simple class that holds an instance of ReactInstanceManager. ReactPackageHelper Builder ReactPackageTurboModuleManagerDelegate ReactRootView Default root view for catalyst apps. TurboReactPackage This will eventually replace LazyReactPackage when TurboModules are finally done. -
Interface Summary Interface Description ReactApplication ReactInstanceEventListener New Listener interface for react instance events. ReactInstanceEventListener Listener interface for react instance events. ReactPackage Main interface for providing additional capabilities to the catalyst framework by couple of different means: - Registering new native modules
- Registering new JS modules that may be accessed from native modules or from other parts of the native code (requiring JS modules from the package doesn't mean it will automatically be included as a part of the JS bundle, so there should be a corresponding piece of code on JS side that will require implementation of that JS module so that it gets bundled)
- Registering custom native views (view managers) and custom event types
- Registering natively packaged assets/resources (e.g. images) exposed to JS
ReactPackageLogger Interface for the bridge to call for TTI start and end markers. ReactRootViewEventListener Listener interface for react root view events ViewManagerOnDemandReactPackage