BLURT Education || React Native Tutorial For Beginners || By @ramzanbaow

in helloblurt •  3 years ago 

Asslam-u-Alikum

Hi friends Here is my second tutorial post for react-native beginners.

Today The purpose of my post is to share the react-native information with my BLURTBLOG friends.

Copy of Yellow Font Back To School Presentation - Made with PosterMyWall.jpg

First of all, We need to know what the purpose of react native is and what it means.
"React Native is the framework that allows us to create apps for both the IOS and Android Apps with the same code".
To work on react native, we must first install the following :
Install Java.
Install Android Studio
Install Node and Npm.
Install React Native run-android.
Install React Native start.

Step 1:
First go to Command Prompt , create a project by assigning a name project name and this should be start with capital letter do the project.

image.png

image.png

Step 2:
After showing your command prompt like this way, that's mean our project is created:

image.png

Step 3:
Now I am going to start that how we can view some text .Then open Visual Studio and then
File>Open>Folder>Select your folder. And open in visual studio.

image.png

image.png

Step 4:
Now I am going to write code to view some text .And also that how to apply style in View component .In this I use just justifyContent and alignItems .

image.png

Step 5:
And Now I will tell you that how can we run our project on mobile by using some commands.
First check that your mobile phone is connected with your pc by this command:
adb devices
And then run this command for start your project on mobile phone.
npx react-native run-android

image.png

I will be really thankful to my friends and supporters if you will give your precious time for my starting post. I hope that you will appreciate and encourage me.

Thanks for watching my post.

If You Want To Know More About Me Link Is Given Below: Achievement 01

I Special Thanks To:

@zahidsun || @blurt-pakistan || @imransoudaghar || @blurtindia ||@practicalthought

Regards: @ramzanbaow

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!