Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

use create-react-native-app without expo-cli

I have set up create-react-native-app as said in the react native docs. If my project name is proj, according to the docs, the commands to be run should be :

create-react-native-app proj
cd proj
npm start

But when I run create-react-native-app, I get a menu to select a blank template or the one with tabs. And instead of npm start, it says to use expo start. Why am I getting a different output compared to the docs?

like image 456
TheFirstMe Avatar asked Sep 24 '18 13:09

TheFirstMe


People also ask

Can I use React Native without Expo?

Whereas, if you build React Native apps from scratch without Expo, based on what I have seen you will need to use a tiny bit of your native mobile coding skills. Although 95% of the code is shared between iOS and Android, depending on your use-case, you still may have to tweak some native code on both platforms.


1 Answers

You can use:

react-native init projectName
like image 87
Vikram Biwal Avatar answered Sep 26 '22 00:09

Vikram Biwal