native-data-fetching

Network requests, API calls, and data fetching for Expo apps with caching, error handling, and offline support.

expo ↓ 47k
Claude Code
View source ↗

What it does

  • Implementing API requests
  • Setting up data fetching (React Query, SWR)
  • Using Expo Router data loaders (useLoaderData, web SDK 55+)
  • Debugging network failures
  • Implementing caching strategies
  • Handling offline scenarios
  • Authentication/token management

Requirements & configuration

  • Authentication/token management
  • Authorization: Bearer ${token},
  • Token management:
  • setToken: (token: string) => SecureStore.setItemAsync(TOKENKEY, token),
  • const token = await auth.getToken();

Configuration: HTTPEXPO_PUBLIC_

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

Network requests, API calls, and data fetching for Expo apps with caching, error handling, and offline support.

Source

Repository: https://github.com/expo/skills

native-data-fetching FAQ

What does the native-data-fetching skill do?

Use when implementing or debugging ANY network request, API call, or data fetching. Covers fetch API, React Query, SWR, error handling, caching, offline support, and Expo Router data loaders (`useLoaderData`). Implementing API requests Setting up data fetching (React Query, SWR)

What does native-data-fetching require?

Authentication/token management Authorization: Bearer ${token}, Token management: setToken: (token: string) => SecureStore.setItemAsync(TOKENKEY, token), const token = await auth.getToken(); Configuration keys: HTTP, EXPO_PUBLIC_.

How do I install native-data-fetching?

Run: npx -y skills add https://github.com/expo/skills --skill native-data-fetching --agent claude-code — the source lives at github.com/expo/skills.

Maintain native-data-fetching?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

native-data-fetching on getagentictools
[![native-data-fetching on getagentictools](https://getagentictools.com/badge/skills/expo-skills-native-data-fetching.svg)](https://getagentictools.com/skills/expo-skills-native-data-fetching?ref=badge)
npx agentictools info skills/expo-skills-native-data-fetching

The second line is the CLI lookup for this page — handy in READMEs and docs.