项目背景
- 公司的最新的一个项目像使用ReactNative进行开发,首先是要进行相关的技术调研。
- 之前公司的项目使用的是H5开发,当时我并没有参加,但是调研ReactNative的时候被告知,需要能实现ReactNative的热部署,貌似H5就可以支持热部署。
- 进过几天的挣扎和疯狂的翻阅google的资料并且查找各种博客,终于找到了如何让ReactNative项目实现热部署的方法了,也就是使用CodePush
- 这个是CodePush 的官方网站地址,这个是CodePushGitHut地址
官方对CodePush的介绍
CodePush is a cloud service that enables Cordova and React Native developers to deploy mobile app updates directly to their users’ devices. It works by acting as a central repository that developers can publish certain updates to (e.g. JS, HTML, CSS and image changes), and that apps can query for updates from (using our provided client SDKs). This allows you to have a more deterministic and direct eng