react-native
Cross-platform mobile development with React Native and Expo. Use when building iOS/Android apps with JavaScript/TypeScript, implementing native features, or optimizing mobile performance.
How do I install this agent skill?
npx skills add https://github.com/travisjneuman/.claude --skill react-nativeIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides standard documentation and code snippets for React Native and Expo mobile development. It covers project setup, core components, state management, and native feature integration using well-known, official tools and industry-standard libraries without any detected security risks.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
1/1 file flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
React Native Development
Build native iOS and Android apps with React Native and Expo.
Framework Options
| Framework | Use When |
|---|---|
| Expo (Recommended) | Most apps, faster development, managed workflow |
| React Native CLI | Need custom native modules, brownfield apps |
| Expo with Dev Client | Best of both - Expo DX with native modules |
Project Setup
Expo (Recommended)
npx create-expo-app@latest my-app
cd my-app
npx expo start
React Native CLI
npx @react-native-community/cli init MyApp
cd MyApp
npx react-native run-ios # or run-android
Core Components
Basic Structure
import { View, Text, StyleSheet, ScrollView, SafeAreaView } from "react-native";
export default function App() {
return (
<SafeAreaView style={styles.container}>
<ScrollView contentContainerStyle={styles.content}>
<Text style={styles.title}>Hello World</Text>
</ScrollView>
</SafeAreaView>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#fff",
},
content: {
padding: 16,
},
title: {
fontSize: 24,
fontWeight: "bold",
},
});
Common Components
import {
View,
Text,
Image,
TextInput,
TouchableOpacity,
Pressable,
FlatList,
ActivityIndicator,
Modal,
Switch,
} from 'react-native';
// Touchable with feedback
<Pressable
onPress={handlePress}
style={({ pressed }) => [
styles.button,
pressed && styles.buttonPressed,
]}
>
<Text>Press Me</Text>
</Pressable>
// Text Input
<TextInput
value={text}
onChangeText={setText}
placeholder="Enter text"
style={styles.input}
autoCapitalize="none"
keyboardType="email-address"
returnKeyType="done"
onSubmitEditing={handleSubmit}
/>
// Image
<Image
source={{ uri: 'https://example.com/image.jpg' }}
style={{ width: 100, height: 100 }}
resizeMode="cover"
/>
Reference files
Detailed material is in separate files so this overview stays short. Read only the file whose topic matches the task; each one is self-contained. Paths are relative to the folder that holds this SKILL.md (in the full toolkit install, ~/.claude/skills/react-native/).
| Topic | File | Covers |
|---|---|---|
| Navigation | references/navigation.md | React Navigation Setup; Stack Navigation; Tab Navigation |
| State Management | references/state-management.md | Zustand (Recommended); React Query |
| Styling | references/styling.md | StyleSheet; NativeWind (Tailwind for RN) |
| Native Features | references/native-features.md | Camera (Expo); Push Notifications (Expo); Location |
| Performance | references/performance.md | FlatList Optimization; Image Optimization |
| Testing | references/testing.md | Jest + React Native Testing Library |
| App Store Deployment | references/app-store-deployment.md | Expo EAS Build; app.json Configuration |
| Best Practices | references/best-practices.md | DO:; DON'T: |
| New Architecture (React Native 0.76+) | references/new-architecture-react-native-0-76.md | Core Components; Enabling New Architecture; TurboModules (Type-Safe Native Modules); Fabric Components (New Renderer) |
| Expo Router (File-Based Routing) | references/expo-router-file-based-routing.md | File Structure; Layout and Navigation |
| EAS Update (OTA Updates) | references/eas-update-ota-updates.md | 29 lines |
| Hermes Engine | references/hermes-engine.md | 19 lines |
| Expo SDK 52+ Features | references/expo-sdk-52-features.md | 12 lines |
React 19 Compatibility
React Native supports React 19 features when using New Architecture:
- use() hook for reading promises and context
- ref as prop (no forwardRef needed)
- React Compiler support for auto-memoization
- useActionState and useOptimistic for form handling
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/travisjneuman/.claude/react-native">View react-native on skillZs</a>