DEV Community

Arhan Khan
Arhan Khan

Posted on

Expo for Beginners: Build React Native Apps Without Touching Native Code

Expo is the fastest way to start building a mobile app with React Native. It lets you write JavaScript and TypeScript and get a real app running on your phone in minutes, without ever opening Xcode or Android Studio.

How does Expo work? You create a project with one command, start the dev server, and scan a QR code with the Expo Go app on your phone. Your app loads instantly, and every time you save a file, the app on your phone updates. That live feedback loop is what makes Expo so good for learning — you change a line, you see it.

npx create-expo-app my-app
cd my-app
npx expo start
Enter fullscreen mode Exit fullscreen mode

Expo is great for beginners because it hides the native complexity. Navigation, camera access, push notifications, and file storage all come as ready-made packages you install with one command. You do not need to know Swift, Kotlin, or Gradle to use them.

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

export default function App() {
  return (
    <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
      <Text>Hello from Expo!</Text>
      <Button title="Tap me" onPress={() => alert('It works!')} />
    </View>
  );
}
Enter fullscreen mode Exit fullscreen mode

When should you use Expo? It is perfect for learning mobile development, for prototypes, and for most real apps — todo apps, habit trackers, small business apps. If your app later needs a very specific native feature Expo does not offer, you can eject to a bare React Native project, but most beginners never need to.

The limits are worth knowing. Some highly custom native modules are not available in the managed workflow, and the app binary is bigger than a bare native build. Also, push notifications and over-the-air updates work best when you use Expo's own services, so read the docs before you depend on them.

Start today: install Expo Go on your phone, create a starter app, and change the welcome text. Once you see your own change live on your phone, building the rest feels easy.

Top comments (0)