native-data-fetching
Covers network requests and data fetching in Expo and React Native apps.
Setup & Installation
What This Skill Does
Covers network requests and data fetching in Expo and React Native apps. Handles fetch API usage, React Query and SWR setup, authentication token management with SecureStore, offline detection, request cancellation, and environment-based API configuration.
Instead of manually wiring together error handling, token refresh, offline detection, and environment config, this skill provides ready-to-use patterns for each case in one place.
When to use it
- Setting up React Query with staleTime and retry config for an Expo app
- Storing and refreshing auth tokens using expo-secure-store
- Pausing and resuming queries automatically when the device goes offline
- Configuring separate API base URLs for development and production builds
- Cancelling in-flight fetch requests when a component unmounts
Similar Skills
ios-application-dev
A reference guide for building iOS apps with UIKit, SnapKit, and SwiftUI.
fullstack-dev
A workflow guide for building full-stack applications, covering backend architecture, frontend-backend integration, auth, real-time features, and production hardening.
android-native-dev
A reference guide for Android native development covering Kotlin/Compose patterns, Material Design 3 specs, Gradle project setup, and build troubleshooting.
frontend-dev
Builds complete frontend pages by combining UI design, scroll animations, AI-generated media assets, and copywriting into a single workflow.
