Creating Your First Expo Project
Initialize a New Project:
expo init my-first-expo-app
cd my-first-expo-app
Project Structure:
Running the Project:
expo start
Understanding App.js:
import React from 'react';
import { Text, View } from 'react-native';
export default function App() {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Text>Welcome to your first Expo app!</Text>
</View>
);
}
Conclusion: Creating and running your first Expo project helps you understand the basic structure and workflow of an Expo application. By the end of this lesson, you should be comfortable with initializing new projects and running them on your devices.