Curriculum
Course: Getting Started with React Native
Login

Curriculum

Getting Started with React Native

Text lesson

Lesson 5: Running Your First React Native App

Introduction: Running your app allows you to see your code in action.

 

Steps:

  1. Start the Expo Development Server: Run expo start.
  2. Open the App in Expo Go:
    • Scan the QR code with Expo Go on your device.
    • Alternatively, use an Android or iOS emulator.
  3. Modify the App:
    • Open App.js in your code editor.
    • Change the text to:
      import React from 'react';
      import { Text, View } from 'react-native';

      const App = () => {
      return (
      <View>
      <Text>Hello, React Native World!</Text>
      </View>

      );
      };

      export default App;

    • Save and see the changes instantly.

 

Conclusion: Running your first React Native app is an exciting step. You can now see how changes in your code are reflected in the app in real-time.

Layer 1
Login Categories
This website uses cookies and asks your personal data to enhance your browsing experience.