expo logo
#222 by installsMobile & cross-platformexpo/skills

expo-data-fetching

Network requests, API calls, data fetching, caching and offline support for Expo apps

Installs
21.6K
all time
This week
908
installs
Repo stars
2.7K
GitHub
First seen
Jul 7, 2026
on skills.sh
Install
npx skills add https://github.com/expo/skills --skill expo-data-fetching
Works with Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Gemini CLI and other agents that read SKILL.md.
What it does

Handles all networking work in Expo applications including fetch API, React Query, SWR, and error handling. Use this when building or debugging any data fetching, API integration, or network-dependent features. Covers loading/error/empty states, offline-first patterns, and Expo Router's useLoaderData for route-level data loading.

  • Implement fetch requests, React Query, SWR with proper error handling and loading states
  • Build offline-first patterns with NetInfo, caching strategies and AbortController cancellation
  • Use Expo Router loaders (useLoaderData) for route-level data loading on web and SDK 55+
  • Debug network issues, handle connection changes and design empty/error UI states