What problem does it solve?
Provides clear, production-oriented guidance and patterns for implementing, debugging, and hardening network requests and API data fetching in Expo and React Native apps, reducing flaky requests, insecure token handling, and poor offline behavior.
Core Features & Use Cases
- Fetch patterns and error handling: guidance for using fetch with structured HTTP error parsing and retry/backoff strategies.
- State & caching: recommendations for integrating React Query or SWR for caching, invalidation, and deduplication.
- Authentication and token management: secure storage practices and refresh flows using expo secure storage.
- Offline and cancellation: network status detection, query pause/resume, and request cancellation strategies.
- Environment configuration: use of EXPO_PUBLIC_ variables for environment-specific API endpoints and build-time safety notes.
Quick Start
Use this skill to implement or debug network requests, caching, and secure token handling in your Expo React Native app using fetch or React Query.