INTRODUCTION:
React Native is an open-source framework for building mobile applications using JavaScript and React. it is developed by Facebook in 2015 , it is used to create mobile applications in both ios and android using one codebase

BasicKnowledge:
We need to know basics of HTML,CSS,JS,React Js
We uses node version

INSTALLATION AND RUN CODE:
we can use to create project by using following commands
1.npx create react-native-app project name
cd project name
project will be created next we need to install node modules
2.npm install –legacy-peer-deps [or] npm install
[or]
we can install using yarn also yarn install
3.after install we can run using followings commands
3.1,npx react-native run-android 
3.2, yarn android [or] yarn ios
3.3, npm start

HOW TO WRITE A CODE TO RUN SMALL TEXT:
// App.js file
Import React from “react”;
import {Text,View,StyleSheet} from ‘react-native’;

const App =() => {
<Text style={styles.Hey}>HEY WELCOME TO WORLD</Text>

};
const styles=StyleSheet.create({
Hey:{
MarginTop:10,
textalign:”center”,
},
})

View:
view is used to building a user interface, it is also used some of layouts such as flexs , touchables, styles, touch handling and accessiable components


Leave a Reply

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny