react-native-dev
यह क्या करती है
यह स्किल React Native और Expo से प्रोडक्शन-तैयार मोबाइल ऐप बनाने की व्यावहारिक गाइड है। यह उन डेवलपर्स के लिए है जो स्क्रीन से लेकर डिप्लॉयमेंट तक पूरे ऐप पर मार्गदर्शन चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप iPhone या Android के लिए React Native या Expo ऐप बनाते हैं।
- ✓जब आपको मोबाइल ऐप में एनिमेशन, नेविगेशन या फ़ॉर्म चाहिए।
- ✓जब आपका ऐप धीमा है या आपको डिप्लॉयमेंट और अपडेट की योजना बनानी है।
Skill का लिंक
https://github.com/MiniMax-AI/skills/blob/main/skills/react-native-dev/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे React Native ऐप चाहिए, जिसमें टैब नेविगेशन, लॉगिन फ़ॉर्म और सहज एनिमेशन हों।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल हर क्षेत्र, जैसे नेविगेशन, स्टाइलिंग, एनिमेशन और स्टेट, के लिए संदर्भ गाइड सूचीबद्ध करती है। एजेंट संबंधित गाइड पढ़ता है और उसके पैटर्न आपके ऐप पर लागू करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
React Native & Expo Development Guide
A practical guide for building production-ready React Native and Expo applications. Covers UI, animations, state, testing, performance, and deployment.
References
Consult these resources as needed:
- references/navigation.md — Expo Router: Stack, Tabs, NativeTabs (
headerLargeTitle,headerBackButtonDisplayMode), links, modals, sheets, context menus - references/components.md — FlashList patterns,
expo-image, safe areas (contentInsetAdjustmentBehavior), native controls, blur/glass effects, storage - references/styling.md — StyleSheet, NativeWind/Tailwind, platform styles, theming, dark mode
- references/animations.md — Reanimated 3: entering/exiting, shared values, gestures, scroll-driven
- references/state-management.md — Zustand (selectors, persist), Jotai (atoms, derived), React Query, Context
- references/forms.md — React Hook Form + Zod: validation, multi-step, dynamic arrays
- references/networking.md — fetch wrapper, React Query (optimistic updates), auth tokens, offline, API routes, webhooks
- references/performance.md — Profiling workflow, FlashList +
memo, bundle analysis, TTI, memory leaks, animation perf - references/testing.md — Jest, React Native Testing Library, E2E with Maestro
- references/native-capabilities.md — Camera, location, permissions (
use*Permissionshooks), haptics, notifications, biometrics - references/engineering.md — Project layout (
components/ui/,stores/,services/), path aliases, SDK upgrades, EAS build/submit, CI/CD, DOM components
Quick Reference
Component Preferences
| Purpose | Use | Instead of |
|---|---|---|
| Lists | FlashList (@shopify/flash-list) + memo items |
FlatList (no view recycling) |
| Images | expo-image |
RN <Image> (no cache, no WebP) |
| Press | Pressable |
TouchableOpacity (legacy) |
| Audio | expo-audio |
expo-av (deprecated) |
| Video | expo-video |
expo-av (deprecated) |
| Animations | Reanimated 3 | RN Animated API (limited) |
| Gestures | Gesture Handler | PanResponder (legacy) |
| Platform check | process.env.EXPO_OS |
Platform.OS |
| Context | React.use() |
React.useContext() (React 18) |
| Safe area scroll | contentInsetAdjustmentBehavior="automatic" |
<SafeAreaView> |
| SF Symbols | expo-image with source="sf:name" |
expo-symbols |
Scaling Up
| Situation | Consider |
|---|---|
| Long lists with scroll jank | Virtualized list libraries (e.g. FlashList) |
| Want Tailwind-style classes | NativeWind v4 |
| High-frequency storage reads | Sync-based storage (e.g. MMKV) |
| New project with Expo | Expo Router over bare React Navigation |
State Management
| State Type | Solution |
|---|---|
| Local UI state | useState / useReducer |
| Shared app state | Zustand or Jotai |
| Server / async data | React Query |
| Form state | React Hook Form + Zod |
Performance Priorities
| Priority | Issue | Fix |
|---|---|---|
| CRITICAL | Long list jank | FlashList + memoized items |
| CRITICAL | Large bundle | Avoid barrel imports, enable R8 |
| HIGH | Too many re-renders | Zustand selectors, React Compiler |
| HIGH | Slow startup | Disable bundle compression, native nav |
| MEDIUM | Animation drops | Only animate transform/opacity |
New Project Init
# 1. Create project
npx create-expo-app@latest my-app --template blank-typescript
cd my-app
# 2. Install Expo Router + core deps
npx expo install expo-router react-native-safe-area-context react-native-screens
# 3. (Optional) Common extras
npx expo install expo-image react-native-reanimated react-native-gesture-handler
Then configure:
- Set entry point in
package.json:"main": "expo-router/entry" - Add scheme in
app.json:"scheme": "my-app" - Delete
App.tsxandindex.ts - Create
app/_layout.tsxas root Stack layout - Create
app/(tabs)/_layout.tsxfor tab navigation - Create route files in
app/(tabs)/(see navigation.md)
For web support, also install: npx expo install react-native-web react-dom @expo/metro-runtime
Core Principles
**Consult re
अक्सर पूछे जाने वाले सवाल
क्या यह Expo कवर करती है?
हाँ। यह Expo Router, नेटिव फ़ीचर और Expo ऐप के प्रोजेक्ट सेटअप को कवर करती है।
क्या यह टेस्टिंग में मदद करती है?
हाँ। यह टेस्टिंग और परफ़ॉर्मेंस अनुकूलन कवर करती है।
अपग्रेड और रिलीज़ के बारे में क्या?
स्किल प्रोजेक्ट ढाँचा, डिप्लॉयमेंट, SDK अपग्रेड और CI/CD कवर करती है।
जानकारी
लेखक का मूल विवरण
React Native and Expo development guide covering components, styling, animations, navigation, state management, forms, networking, performance optimization, testing, native capabilities, and engineering (project structure, deployment, SDK upgrades, CI/CD). Use when: building React Native or Expo apps, implementing animations or native UI, managing state, fetching data, writing tests, optimizing performance, deploying to App Store/Play Store, setting up CI/CD, upgrading Expo SDK, or configuring Tailwind/NativeWind.
repo: MiniMax-AI/skills
लोकप्रियता
- GitHub स्टार
- 14k
- रैंकिंग में स्थान
- #11299
- लाइसेंस
- MIT
- अपडेट की गई
- 18/4/2026
कमेंट
- …
इस repository की और skills
design-style-skill
14kयह आपके एजेंट को स्लाइड के लिए एक एकसमान विज़ुअल स्टाइल चुनने में मदद करती है, तीखे और कॉम्पैक्ट से लेकर नरम, गोल या खुले तक, मेल खाते कोनों और spacing के साथ।
ppt-editing-skill
14kयह आपके एजेंट को मौजूदा PowerPoint फ़ाइल या टेम्पलेट सुरक्षित रूप से बदलने में मदद करती है, टेक्स्ट बदलकर, स्लाइड का क्रम बदलकर या हटाकर, और सही डेक दोबारा पैक करके।
ppt-orchestra-skill
14kयह आपके एजेंट को बनाने से पहले पूरे PowerPoint डेक की योजना बनाने में मदद करती है, हर स्लाइड को मानक पेज प्रकार में रखकर और विविधता व टेक्स्ट गुणवत्ता जाँचकर।
slide-making-skill
14kयह आपके एजेंट को JavaScript में PptxGenJS से एकल PowerPoint स्लाइड लिखने में मदद करती है, नेटिव .pptx फ़ाइलों के लिए लेआउट, टेक्स्ट, इमेज, चार्ट और फ़ॉन्ट सहित।
मिलती-जुलती skills
android-clean-architecture
280kयह आपके एजेंट को Android projects को व्यवस्थित तरीके से संभालने देता है। यह code को ऐसा ढांचा देता है कि उसकी देखभाल और नए features जोड़ना आसान हो।
compose-multiplatform-patterns
280kKMP projects में Compose Multiplatform और Jetpack Compose patterns इस्तेमाल करने में आपके एजेंट की मदद करता है। इसमें state, navigation, theming और performance शामिल हैं।
dart-flutter-patterns
280kयह आपके एजेंट को Dart और Flutter apps के लिए code लिखने देता है। यह आधुनिक patterns इस्तेमाल करके मज़बूत और आसानी से संभलने वाले apps बनाता है।