简体   繁体   中英

React-Native and Expo: Any different between create-react-native-app and react-native init

I need some clarify of the difference between create-react-native-app then detached and react-native init.

I understand that the former one will create an app based on the expo and later require detached to expose the native code of android and iOS for native code implementation. The react-native init will generate the native code at the same time.

Are there any difference after detach from expo after created from create-react-native-app command, compared with react-native init?

The only significant difference is that you still depend on the Expo SDK. From the website:

We call this "detaching" because you still depend on the Expo SDK, but your project no longer lives inside the standard Expo client. You control the native projects, including configuring and building them yourself.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM