AppRegistry is the JS entry point to running all React Native apps. App root components should register themselves with AppRegistry.registerComponent, then the native system can load the bundle for the app and then actually run the app when it’s ready by invoking AppRegistry.runApplication.
AppRegistry.unmountApplicationComponentAtRootTag with the tag that was passed into runApplication. These should always be used as a pair.
AppRegistry should be required early in the require sequence to make sure the JS execution environment is setup before other modules are required.
Reference
Methods
getAppKeys()
getRegistry()
getRunnable()
getSectionKeys()
getSections()
registerComponent()
registerConfig()
registerRunnable()
registerSection()
runApplication()
setComponentProviderInstrumentationHook()
hook function accepts the following as arguments:
setWrapperComponentProvider()
unmountApplicationComponentAtRootTag()
Type definitions
AppConfig
Application configuration for theregisterConfig method.
component or run function.
Registry
Runnable
Runnables
An object with key ofappKey and value of type of Runnable.

