且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将现有的 React Native 项目转换为 Expo

更新时间:2023-11-13 17:26:40

Expo XDE 自述文件.

但是,我们没有让它工作,并决定将我们的代码移植到默认的 Expo 应用程序中(编辑:在将我们的应用程序移植到 Expo 时遇到很多问题后,我们决定恢复到香草RN).

However, we didn't get it working and decided to port our code into the default Expo app (Edit: after hitting a lot of issues porting our app to Expo, we decided to revert to vanilla RN).

文档中至少缺少一些必需的步骤:

There are at least a few required steps missing from the documentation:

  • 创建 exp.json 文件
  • 将 React 和 React Native 库更新到 Exponent 所需的版本

  • Create exp.json file
  • Update React and React Native libraries to the versions required by Exponent

"react": "16.0.0-alpha.6","react-native": "https://github.com/expo/react-native/archive/sdk-16.0.0.tar.gz",

我们 在我们的博客上总结 为什么我们放弃了目前形式的世博会.

We summarized on our blog why we gave up on Expo in its current form.