Turbo Module Registry
interface TurboModuleRegistry
Interface to allow for creating and retrieving NativeModules. Why is this this class prefixed with "Turbo", even though it supports both legacy NativeModules, and TurboModules? Because there already is a NativeModuleRegistry (a part of the legacy architecture). Once that class is deleted, we should rename this interface accordingly.
Inheritors
Properties
Functions
Link copied to clipboard
Return the NativeModule instance that has that name moduleName
. If the moduleName
TurboModule hasn't been instantiated, instantiate it. If no TurboModule is registered under moduleName
, return null.
Link copied to clipboard
Called during the turn down process of ReactHost. This method is called before React Native is stopped.