React Native & Expo Best Practices (2026): Router, UI & Agent Skills
Web React habits break native mobile apps through unvirtualized lists, missing safe areas, and insecure token storage. Follow the Expo and React Native checklist below or inspect the official Expo, Callstack, HeroUI, and Uniwind SKILL.md repos on GitHub.
Updated: 2026-11-21 · Works with Claude Code, Cursor, Codex, and Windsurf
Core React Native & Expo Best Practices
Use Expo Router file-based navigation with typed routes
Enable typedRoutes in app.json and keep navigation state inside app/ layouts instead of mixing Expo Router with manual React Navigation containers.
navigation.navigate("Details", { id }) // untyped string routerouter.push({ pathname: "/item/[id]", params: { id } })Render large lists with FlashList or FlatList, never ScrollView.map
Virtualize feeds and catalogs with stable keyExtractor functions so memory stays flat and 60fps scrolling holds on low-end Android phones.
<ScrollView>{items.map((item) => <Row key={item.id} item={item} />)}</ScrollView><FlatList data={items} keyExtractor={(i) => i.id} renderItem={renderRow} />Store auth tokens in expo-secure-store, never AsyncStorage
Keep session tokens and refresh keys in iOS Keychain and Android Keystore via expo-secure-store instead of plaintext AsyncStorage.
await AsyncStorage.setItem("token", jwt);await SecureStore.setItemAsync("session_token", jwt);Respect safe areas and native keyboard behavior on every screen
Wrap screens with react-native-safe-area-context and handle keyboard avoidance so inputs and tab bars never clip under notches or home indicators.
<View style={{ paddingTop: 40 }}><TextInput /></View><SafeAreaView edges={["top", "bottom"]}><KeyboardAvoidingView>...</KeyboardAvoidingView></SafeAreaView>Animate on the UI thread with Reanimated worklets
Drive gestures and transitions with react-native-reanimated shared values instead of JS-thread Animated loops that drop frames during fetches.
Animated.timing(val, { toValue: 1, useNativeDriver: false })const offset = useSharedValue(0); const style = useAnimatedStyle(() => ({ transform: [{ translateY: offset.value }] }));Ship JS fixes with EAS Update and match runtimeVersion policies
Configure runtimeVersion in app.json before enabling EAS Update so over-the-air JavaScript bundles never crash older native binaries.
Manual OTA push without matching native SDK/runtimeVersion"runtimeVersion": { "policy": "appVersion" } + eas update --branch productionOpen-Source React Native & Expo Agent Skills (7)
| Skill & Publisher | Stars | Install |
|---|---|---|
Official Apache-2.0 mobile UI skill from HeroUI teaching coding agents accessible native buttons, sheets, forms, and dark-mode tokens in Expo apps. | ★ 31,275 | |
Official MIT-licensed skill from expo/skills teaching coding agents Expo Router file conventions, nested stack/tab layouts, protected auth routes, and universal deep links. | ★ 4,203 | |
Official MIT-licensed skill from expo/skills guiding agents to build native-feeling iOS and Android screens with proper safe areas, sheets, haptics, and platform conventions. | ★ 4,203 | |
Official MIT-licensed skill from expo/skills covering resilient mobile API requests, secure token attachment, retry/offline states, and avoiding waterfall fetches in React Native. | ★ 4,203 | |
Official MIT-licensed skill from expo/skills guiding agents through safe over-the-air JavaScript updates, runtimeVersion policies, channel-branch mapping, and rollback strategies. | ★ 4,203 | |
Official MIT-licensed skill from uni-stack/uniwind guiding coding agents through Tailwind utility styling, responsive breakpoints, and theme variables in React Native apps. | ★ 1,756 | |
Official MIT-licensed React Native skill from Callstack covering 60fps list rendering, UI-thread animations, bundle size, native module interop, and New Architecture patterns. | ★ 1,715 |
Building with React Native & Expo and an AI coding agent?
Builderthread pairs verified skills with a private GitHub starter repo, living PRD, and MCP task board for Claude Code, Cursor, and Codex.
Questions about React Native & Expo Best Practices & Skills
What are the best official agent skills for Expo and React Native?
Expo maintains official skills in expo/skills (expo-router, expo-native-ui, expo-data-fetching, eas-update) and Callstack maintains callstackincubator/agent-skills (react-native-best-practices) under the MIT license.
Why should mobile coding agents avoid web React skills?
Web React skills assume DOM primitives (div, CSS hover, window, localStorage) that fail on iOS and Android. Dedicated Expo and React Native skills enforce native views, safe areas, SecureStore, and UI-thread animations.
Do these skills support Expo SDK 52+ and the New Architecture?
Yes. Official Expo and Callstack skills target modern Expo Router, New Architecture (Fabric and TurboModules), and EAS build and update workflows.
Related Skill Guides
Expo mobile starter + API
Ship an iOS and Android app without starter-kit stall
Builderthread generates a private Expo repo with navigation, auth, account deletion, and its own API, then guides your coding agent feature by feature from a living PRD over MCP.