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

Quick Reference Checklist

Core React Native & Expo Best Practices

01

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.

Avoid:navigation.navigate("Details", { id }) // untyped string route
Prefer:router.push({ pathname: "/item/[id]", params: { id } })
02

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.

Avoid:<ScrollView>{items.map((item) => <Row key={item.id} item={item} />)}</ScrollView>
Prefer:<FlatList data={items} keyExtractor={(i) => i.id} renderItem={renderRow} />
03

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.

Avoid:await AsyncStorage.setItem("token", jwt);
Prefer:await SecureStore.setItemAsync("session_token", jwt);
04

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.

Avoid:<View style={{ paddingTop: 40 }}><TextInput /></View>
Prefer:<SafeAreaView edges={["top", "bottom"]}><KeyboardAvoidingView>...</KeyboardAvoidingView></SafeAreaView>
05

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.

Avoid:Animated.timing(val, { toValue: 1, useNativeDriver: false })
Prefer:const offset = useSharedValue(0); const style = useAnimatedStyle(() => ({ transform: [{ translateY: offset.value }] }));
06

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.

Avoid:Manual OTA push without matching native SDK/runtimeVersion
Prefer:"runtimeVersion": { "policy": "appVersion" } + eas update --branch production

Open-Source React Native & Expo Agent Skills (7)

Showing 7 of 7 verified skillsStandard: SKILL.md specification
Skill & PublisherStarsInstall
by HeroUI•react-native

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
by Expo•react-native

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
by Expo•react-native

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
by Expo•react-native

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
by Expo•react-native

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
by Uniwind•react-native

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
by Callstack•react-native

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.

Frequently Asked Questions

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.

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.

Six private starter repos, one MCP workflow
Next.js SaaS
Hono API
FastAPI AI
Expo mobile
Tauri Rust
Chrome extension
100% code ownership in your GitHubLiving PRD + MCP task boardStarts at $29 one-time
Start my mobile repoTry free architecture preview

Free preview needs no signup or card