Expo RN:分离与弹出 [英] Expo RN: Detach vs Eject
问题描述
我目前有一个使用 Expo (create-react-native-app) 在 React Native 中构建的应用程序,它需要一些本机代码.据我了解,有两种选择可以下降到纯反应原生,弹出和分离.看到到目前为止我已经使用了相当数量的 Expo API,我必须分离到 ExpoKit.如果我纯粹弹出(而不是分离到 ExpoKit)我使用的当前 Expo 工具将无法工作,我的理解是否正确?
I currently have an app built in React Native using Expo (create-react-native-app) that needs some native code. As I understand one has two options for dropping down to pure react native, ejecting and detaching. Seeing that I have already have used a fair amount Expo API's up until this point, I must detach to ExpoKit. Is my understanding correct that if I purely eject (as opposed to detaching to ExpoKit) the current Expo tools I have used wont work?
感谢任何反馈!
推荐答案
好像Expo Eject 和Expo Detach 没有什么区别——eject 只是用的新名字……
Seems that there is no difference between Expo Eject and Expo Detach - eject is just the new name used...
参见 https://forums.expo.io/t/ejecting-vs-detaching-to-expokit/16295/2
这篇关于Expo RN:分离与弹出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!