Getting Started with React Native









This page will help you download and create your first Native React app. If you already have React Native installed, you can skip to the tutorial.


If you're new to mobile development, the easiest way to get started is with Expo CLI. Expo is a set of tools designed around React Native, and while it has many features, the most important feature for us right now is to get you to write a React Native app within minutes. All you need is a recent version of Node.js and a computer or emulator. If you want to use React Native directly in your web browser before downloading any software, you can use Snack.


Expo CLI Quickstart Installation guide:


If you have Node 10 LTS installed, you can use npm to download the Expo CLI command line utility:

npm install -g expo-cli


Then run the following commands to create a new React Native project called "AwesomeProjectByNawab":


expo init AwesomeProjectBYNawab
cd AwesomeProjectBYNawab
npm start # you can also use: expo start

This will enable a development server for you.




Running your React Native application:


Download the Expo client app on your iOS or Android phone and connect to the same wireless network as your Mac. Use the Expo app on Android to scan the QR code from your terminal to unlock your project. Follow the on-screen instructions on iOS to get a reference.



Modifying your app:

Now that you've been running the software successfully, let's update it. Open App.js in your favorite text editor and edit a few rows. The software should be reloaded automatically when the modifications have been saved.


This is it!

Congratulations to you! You've successfully launched and updated your first Native React app.
295 views1 comment
Never Miss a Post. Subscribe Now!

Contact Us: nawabblog@gmail.com

Location : Bangalore India.

© 2019 proudly created  by Nawab Ahmad. 

  • Nawab Ahmad
  • Grey Twitter Icon
  • Nawab Ahmad