React Native First Program

How to start App again?

npx create-expo-app@latest

npx create-expo-app@latest –template

React-Native-Projects-Folder>npx create-expo-app@latest
Need to install the following packages:
create-expo-app@3.1.1
Ok to proceed? (y) y

Creating an Expo project using the default template.

To choose from all available templates pass in the –template arg:
$ npx create-expo-app –template

To choose from all available examples pass in the –example arg:
$ npx create-expo-app –example

? What is your app named? » firstproject

✅ Your project is ready!

To run your project, navigate to the directory and run one of the following npm commands.

– cd firstproject
– npm run android
– npm run ios # you need to use macOS to build the iOS project – use the Expo app if you need to do iOS development without a Mac
– npm run web
npm notice
npm notice New minor version of npm available! 10.8.3 -> 10.9.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.0
npm notice To update run: npm install -g npm@10.9.0
npm notice

Your-Projects-Folder>cd firstproject

Your-Projects-Folder\firstproject>

——————————————————

Make the First Change in App.

Just Keep Simplest Code only.

Interview Question.

Q. What is difference between React Native and React js ?

A. React JS is a JavaScript library used for building user interfaces for web applications, while React Native is a framework used for building mobile applications for iOS and Android using JavaScript.

Leave a Reply

Your email address will not be published. Required fields are marked *