React Native Expo
Cross-platform mobile development with React Native and Expo.
🚀 Quick Start
import { StatusBar } from 'expo-status-bar';
import { StyleSheet, Text, View } from 'react-native';
export default function App() {
return (
<View style={styles.container}>
<Text>Hello React Native!</Text>
<StatusBar style="auto" />
</View>
);
}
const styles = StyleSheet.create({
container: { flex: 1, alignItems: 'center', justifyContent: 'center' }
});
📋 When to Use
- ✅ Cross-platform mobile apps (iOS + Android)
- ✅ Quick start with Expo managed workflow
- ❌ Not for native modules without Expo
🔧 Step-by-Step Instructions
- Create project:
npx create-expo-app@latest my-app - Write components with React Native API
- Test on device or simulator
- Run:
npx expo start
📦 Dependencies
npx create-expo-app@latest my-app
🧪 Examples
Input: App launch → Output: "Hello React Native!" displayed
🔗 Resources
✅ Validation
- App runs in simulator/device
- Hot reload works correctly
- Styles applied properly
Source: ssrjkk/claude-skills — distributed by TomeVault.