Embarking on the React Native Journey: Building Your First Application.

Embarking on the React Native Journey: Building Your First Application.

A Step-by-Step Guide to Crafting Your First React Native Project.

Requirements and Installation

  • Node JS

  • Java JDK (version 11 is preferred)

  • Android Studio (With emulator)

  • And lots of patience

Setting up the development environment

Open cmd/Terminal and type (of course from your preferred project location)

npx react-native@latest init FirstApp

Wait for some time and your project will be ready....

Running the demo app

Running application in android device :

npx react-native run-android

Customize Home page

Open App.tsx/App.jsx file :

import React from 'react';

import {SafeAreaView, View, Text} from 'react-native';

function App() {
  return (
    <SafeAreaView>
      <View>
        <Text> Hello Text</Text>
      </View>
    </SafeAreaView>
  );
}

export default App;

This will create the Hello World application in react native!!!

I hope you got something to learn from this blog 🤖

Comment if you have any query :)