| name | react-native |
| description | React Native cross-platform mobile with JavaScript. Use for iOS/Android. |
React Native
React Native allows you to build native mobile apps using React and JavaScript/TypeScript. It renders veritable native UI components (not webviews), offering performance close to native apps while maintaining the React developer experience.
When to Use
- Building iOS and Android apps with a shared codebase.
- Teams with existing React/Web expertise.
- Apps requiring Over-the-Air (OTA) updates (via Expo Updates or CodePush).
- Prototyping cross-platform mobile experiences rapidly.
Quick Start
Using Expo (Recommended for 2024/2025):
npx create-expo-app@latest my-app
cd my-app
npx expo start
import { useState } from "react";
import { View, Text, Button, StyleSheet } from "react-native";
import { Link } from "expo-router";
export default function Home() {
const [count, setCount] = ();
(
);
}
styles = .({
: { : , : , : },
: { : , : },
: { : , : },
});