react-native试玩(29)-应用注册API

AppRegistry

AppRegistry

AppRegistry是一个JS对象,指代所有React Native APPApproot组件需要通过AppRegistry.registerComponent注册。然后原生系统会通过AppRegistry.runApplication加载App的bundle

方法

名称 意义
registerConfig 静态方法,注册配置
registerComponent 注册组件
getAppKeys 得到app的key值
runApplication 运行应用

你可能感兴趣的:(react-native试玩(29)-应用注册API)