十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
AppRegistry 是运行所有 React Native 应用程序的 JS 入口点。应用程序跟组件需要通过AppRegistry.registerComponent 来注册它们自身,然后本地系统就可以加载应用程序的包,再然后当AppRegistry.runApplication准备就绪后就可以真正的运行该应用程序了。

AppRegistry 在 require 序列里是 required,确保在其他模块被需求之前 JS 执行环境已经被 required。
static **registerConfig**(config: Array) static **registerComponent**(appKey: string, getComponentFunc: Function) static **registerRunnable**(appKey: string, func: Function) static **runApplication**(appKey: string, appParameters: any)