Context
React Native with Expo is a supported platform for Electric + TanStack DB. AGENTS.md mentions react-native-random-uuid as a requirement, but the full setup story is more involved.
Scope
Create an electric-expo skill covering:
- Prerequisites —
react-native-random-uuid import in entry point, polyfills needed
- Proxy setup — Mobile app → your API server → Electric (different from web proxy patterns)
- Offline behavior — How Electric's HTTP-based sync behaves when mobile network drops
- Background/foreground transitions — Visibility detection, reconnection on app resume
- TanStack DB integration — Collections with React Native-specific considerations
- Expo-specific setup — Metro bundler config, Expo Router API routes
- Testing on device vs simulator — Network configuration, localhost vs LAN IP
Source
Identified during domain discovery skill test run. Maintainer confirmed React Native warrants standalone skill due to integration complexity.
Context
React Native with Expo is a supported platform for Electric + TanStack DB. AGENTS.md mentions
react-native-random-uuidas a requirement, but the full setup story is more involved.Scope
Create an
electric-exposkill covering:react-native-random-uuidimport in entry point, polyfills neededSource
Identified during domain discovery skill test run. Maintainer confirmed React Native warrants standalone skill due to integration complexity.