Getting Started with React Native.

React Native is like React, but it uses native components instead of web components as building blocks. So to understand the basic structure of a React Native app, you need to understand some of the basic React concepts, like JSX, components, state, and props

STEP 1: Install Node.js from https://nodejs.org/en/


STEP 2: Open Node js command prompt and Install expo through command prompt.

Assuming that you have Node installed, you can use npm to install the Expo CLI command line utility:

ou can use npm to install the Expo CLI command line utility:

npm install -g expo-cli

Then run the following commands to create a new React Native project called “AwesomeProject”:

expo init ProjectName

cd ProjectName
npm start

Running your React Native application

Install the Expo client app on your iOS or Android phone and connect to the same wireless network as your computer. On Android, use the Expo app to scan the QR code from your terminal to open your project. On iOS, follow on-screen instructions to get a link.

Modifying your app

Now that you have successfully run the app, let’s modify it. Open App.js in your text editor of choice and edit some lines. The application should reload automatically once you save your changes.

For more information https://facebook.github.io/react-native/docs/getting-started

Categories: React Native

Leave a Reply

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

Social Media Auto Publish Powered By : XYZScripts.com