What problem does it solve?
It simplifies implementing, debugging, and hardening all network requests and API data fetching in Expo and React Native apps, reducing broken requests, insecure token storage, and fragile caching strategies.
Core Features & Use Cases
- Fetch guidance: Preferred patterns for the Fetch API and wrappers for consistent error handling and retries.
- State & caching: Integration patterns for React Query and SWR to manage caching, staleTime, and mutations.
- Authentication & offline: Secure token storage and refresh flows with expo-secure-store, network status detection, request cancellation, and strategies for offline-first apps.
- Use Case: Build a mobile user profile flow that fetches user data, caches it with React Query, refreshes tokens transparently, and gracefully resumes syncing when the device comes back online.
Quick Start
Make an authenticated fetch to the EXPO_PUBLIC_API_URL/users endpoint using expo-secure-store for the token, wrap responses with error handling and retries, and integrate the query with React Query for caching.