What problem does it solve?
This Skill eliminates the common pain points of implementing reliable, performant network requests, data caching, and offline functionality in Expo and React Native apps, reducing boilerplate code and preventing common bugs like unhandled network errors or insecure token storage.
Core Features & Use Cases
- Full Fetch API Coverage: Includes patterns for GET/POST requests, error handling, retries with exponential backoff, and request cancellation for all Expo and React Native projects.
- State Management Integration: Provides setup and usage guides for React Query (TanStack Query) and SWR to handle caching, data deduplication, and background refetching.
- Expo Router Loader Support: Offers step-by-step instructions for route-level data loading in Expo web apps (SDK 55+), including SSR and static generation configuration.
- Offline & Auth Best Practices: Covers network status detection, offline-first architecture, and secure token storage and refresh flows for authenticated API calls.
Use Case: If you are building a cross-platform app that needs to fetch user data from an API, cache it for offline access, and handle user authentication securely, this Skill provides all the required patterns and code examples.
Quick Start
Use the native-data-fetching skill to implement a cached, authenticated user profile fetch with offline support for your Expo React Native app.