Converting Existing React Native Projects to Expo

前端 未结 1 1201
名媛妹妹
名媛妹妹 2020-12-14 01:54

I\'m considering building mobile apps in React Native using Expo and I noticed under FAQ that existing React Native projects can be converted to Expo.

What exactly a

相关标签:
1条回答
  • 2020-12-14 02:06

    This topic is covered in the Expo XDE readme.

    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:

    • 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.

    0 讨论(0)
提交回复
热议问题