Q. What is React Native?
Ans:- 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. If you already know React, you still need to learn some React-Native-specific stuff, like the native components. This tutorial is aimed at all audiences, whether you have React experience or not.
Q. How to Install React native on windows?
Ans:- To Install React native on Window , we are following some below steps :-
1) Download Nodejs setup in your system. Use link "https://nodejs.org/en/"
1) Download Nodejs setup in your system. Use link "https://nodejs.org/en/"
2) Open the Command prompt window and enter "npm" comment to check it.After that use another command "npm install -g react-native-cli"
3) Enter command 'react-native init "project name" ' to create a project.
4) Download and install JDK.
5) Download and install android SDK studio for windows.
6) Open that created a project in SDK studio and open its emulator ( if you do not have real device ). Open the emulator if have otherwise add it.
8) Navigate to "http://www.sublimetext.com/3" to download window64bit setup. install it and open it.
9) Navigate to "https://packagecontrol.io/installation" on the browser tab and copy the sublinetext3 code.
10) Paste that code in the sublime console window and press the enter button of the keyboard to install it.
11) Press "control shift p" and type "babel" and press enter button to load its dependency.
12) Select File-> Open folder menu and select the created project and open it in the Sublime text software.
13) Open the command prompt window and navigate to created project path folder name and use a command "react-native run-android" to download its corresponding jar files.
14) if you will face any error so use another command on command prompt window
cd project name
cd android



This is copy paste , you looser.
ReplyDelete